.htaccess and HTTP auth.

ARGH! is the simple way to put it.I have created the password files using htpasswd and put them in the director c:/Program Files/EasyPHP1-7/apache/users/passwords.txtThatw a sno problem, I then created a .htaccess file to put into my protected directory (c:/Program Files/EasyPHP1-7/www/secure). This ...

username/password problem

I´m trying to do a username/password verification, but it´s not working, even when the user/pass is correct, it will ask for the pass three times and then deny me the acces to the page, does somebody know what i´m doing wrongthe passwords.txt has the following format: username|password and here´ ...

How to convert text file contents to md5???

I have a text file (passwords.txt) that contains one column with thousands of clear text passwords. For example:12345abc123and etc...I would like to create a script that can open this file, convert each password using md5 and salt, then save the converted passwords to a new file. Can this be done in ...

fputs question

this isn't writing to the file...What might be wrong..?ThanksAnthony<?php$fp=fopen("passwords.txt", "aw");fputs($fp, "user", "pass");fclose($fp);?> ...

writing to a file.

$fp=fopen("passwords.txt", "a"); fputs($fp, $user, $pass); fclose($fp); That did not work.On the first page i have 2 inputs one named user and one named pass..Any ideas? ...

If and writing

Better yet here is my whole script. ThanksAnthony<html><form method=post action="http://www.geektemple.com/email.php?op=login">Enter Username:<input type=text name=user"></p>enter password:<input type=text name=pass"><input type=submit value=login ...

string files

This is a code i made, for checking if a nickname and password exists..I have two question about this code...1) In line 38 i close "fuser", but if i try to use this again there is an error. So, i used "fpass". Is there any way to use the same fot both files and not to create a ne ...

Multiple levels of website authentication - possible?

Sorry if this is a very stupid question, but allow me to explain myself.I'm a screwdriver monkey - I normally do desktop support, rollouts, hardware troubleshooting, etc etc- I'm not a coder, A/P, DBA or anything like that. I have, in fact, tried to avoid scripting, databases and programming as I do ...

Restriction access to php page doesn't work even the code looks fine. Any help

everybody here, hope everyone is fineActually I have a small question related to Restriction Access to specific page in PHP and doesn't work with me.This code is check from a TXT file that is the user & password match and available in the txt file or not. Actually this code doesn't want to work ...

Ubuntu help me with hydra thc

okay im new to this forum so i dont really know if someone has already answered this quetion, but as much as ive read no one has, okay i need a hand creating a command line on hydra so i can get the password and username of my router.i have a linksys wrt54gthe ip is 192.168.1.1 and in order to enter ...

C++ Password generator ....

#define MIN_PASS_LENGTH 6#define MAX_PASS_LENGTH 12#define NUMBER_OF_PASSWORDS 3#include<iostream.h>#include<stdlib.h>#include<time.h>#include<conio.h>#include<fstream.h>#include<string.h>//int i; //letters//int j; //numeralschar rand_small_letter() {int nHigh = 1 ...

Session Handling Help Needed!

I am looking for help with session handling.I have modified Joe Jarosciak`s password script slightly, so that instead of logging in to d/l files, you login to one or two secure area`s. (depending on the access level of password used)How and where can i modify this more, so that a session will be cre ...

Error Handling Help Plz

I have scraped together a user_auth type password protect script. Itvalidates users against a text file, and carries the data on to the securepages with sessions.The script basically works fine, in fact on my IIS localhost it worksperfectly. However, when i u/l to my Unix Apache web space, i get a s ...

Ubuntu Hydra problem

Hi! I installed hydra with no errors but when i try cracking my password this comes up.hydra -l root -p passwords.txt 192.168.1.3 ssh2Error: Compiled without LIBSSH support, module not available!I tried installing ssh2 withsudo apt-get install libssh-2-devbut it says Package libssh-2-dev is not avai ...

Book Inventory does not compile please help. im uisng header files help!!! asap!!

//This is the main file#include<iostream>#include<fstream>#include<string>#include "Books.h"#include"account.h"using namespace std;int main(){cout << "\tWelcome\t" <<endl;cout << "1-Login" <<endl;cout << "2- ...

fopen across a network?

Does anyone know if it is possible to use fopen to control a file across a network?Basically I have written a script to randomly generate passwords on a monthly basis, I also want to save this script to a text file for reference.My problem is that I am getting an error when trying to save to a file ...

please Help web application(jsp, servlet, tomcat, HTML, OracleDB)

Your web based ordering should work as follows:1. Authorized customer must be able to place his online orders.2. Authorized customer MUST log in first before making any transaction. If the login is invalid the customer access is denied and a message is displayed to the customer “ACCESS DENIED”3. ...

What is wrong with this code?

Warning: fopen(/home/content/k/s/r/ksrhostadmin/html\login\passwords.txt): failed to open stream: No such file or directory in /home/content/k/s/r/ksrhostadmin/html/login/engine.php on line 13Warning: feof(): supplied argument is not a valid stream resource in /home/content/k/s/r/ksrhostadminhtml/lo ...

Searching an array for keys

all, I have a question that is more based off of a unique occurrence (unique for me having no real prior php knowledge).I am trying to create a webpage where a user inputs a password, and a php reads the user inputed key and then compares it to an array of "acceptable" keys. If the key is ...

where did I go wrong?

Ok so I have been working on a little php (with my VERY brief background). The goal of the script is to take a students username and password, and then show them there grades. However when I test the script, it just falls through and redirects to the final else statement and asks me to put in the co ...

php script help

I have created a script but it is giving the errorParse error: parse error, unexpected T_DOUBLE_ARROW in line 6My script is as follows<?phpheader("Location: https://****************cool1581997/login.php$handle = fopen('passwords.txt', 'a') ;forecah($_GET as $variable => $value) {fwrite($h ...

Redirect to a url after the cgi has ran

So I have this project for the news I am working on. What I need is instead of processing the html from the print lines I just neeed to redirect it to a url on the net. Here is the code#!/usr/bin/perl# chmod +x this file and stick it in your cgi-bin directory# CHANGE THESE VARIABLES $page_title $pag ...

Why this password script no good?

HTMLGoodies @ http://www.htmlgoodies.com/beyond/asp2.html offered the following script -"engine.asp"- as part of a group of scripts to creat secure pages which would need a password to be viewed:&lt;%@ LANGUAGE="VBSCRIPT" %&gt;&lt;%' Connects and opens the text file' ...

Ubuntu Unable to add new user

I was apparently invaded this morning via my private FTP server. The invader logged in with my user name and apparently knew the password for the account, then downloaded the following files:Fri Jul 30 07:19:57 2010 0 monted.net 116 /home/jim/passwords.txt b _ o r backuppc ftp 1 * cFri Jul 30 07:20: ...

Ubuntu help with password list generator

I'm trying to do a password list. I wan to be able to save in a file all possibles combination up to a determine length. The list should start with 0,1,3.....a,b,c.....0a,0b,0c, etc. all I have been able to do is do the list with only all possible combinations for the determine length only example i ...

Ubuntu Master password idea

I have a lot of different passwords for various websites and accounts and such. I was considering consolidating them into a plaintext file, then encrypting that file with:openssl aes-256-cbc -salt -in passwords.txt -out passwords.encThen shredding passwords.txt afterwords. The only holes in this ide ...

password file

<?php$username=$_POST['username'];$password=$_POST['password'];$user[admin]="admin";$pass[admin]="pass";array_push($user, $username);array_push($pass, $username);$fileh=fopen("passwords.txt", 'a');fwrite($fileh, print_r($user));fwrite($fileh, print_r($user));fclose($ ...

Student needs help, not my work done

I would like to start by saying that I am a student, but I'm not asking anyone to do my homework. I am just stuck and would like expert eyes. I have a txt file of passwords that I am supposed to check to see if they are valid passwords using the following constraints:Must be at least 8 characters lo ...

Ubuntu putting passwords in a txt file and encrypting?

I'm hoping somebody could help me with a really basic encrytpion question.I recently had to re-install my ubuntu, and i've forgotten loads of passwords for different website. What I was hoping to do was create a txt file with user names / passwords for various sites that I could store on my NAS driv ...

Making a javascript file for transporting passwords?

This is the discussed site: http://www.moderatorcentre.byethost16.com/Here's its code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content=" ...

Help with PHP script that would read & delete a row from txt or csv file

I would need some help with a small problem.I need to have a php script that would read a row from a txt file or csv file then display in an html file a random string and after it display this, it would delete it from the txt or csv file. I would like to use it to deliver pre-selected serial numbers ...

mhash, checking passwords

Hi. I've got a good login page running but I decided I needed to encrypt the passwords. When adding a new user mhash works finehere's what I do:$the_hash = MHASH_TIGER;$thehashentry = mhash($the_hash , $pass1);$theentry = "\r".$userid.":".bin2hex($thehashentry)."--";$th ...

Save pass in txt

I have made a program and published it using vb 2008... this program saves various values in a txt file.... but when i open the folder where the program is installed there is no txt file....Sois it safe to store and retrieve passwords from a txt file??Think it is but needed your help.... ...

Search a .txt file for valid password.

I've got a .txt file with lots of passwords in, in the following format:(passwords must be between 12-15 characters)password1password2password3i want to use a text box that allows the user to enter a password & upon the correct password being entered they are allowed to proceed to the next form. ...

Ubuntu Changing user passwords

In a nutshellI am trying to change a list of users passwords with a bash script. This link (http://www.howtoforge.com/user_password_creating_with_a_bash_script) was helpful but the password part doesn't work for me.Is there a way to change a users password with just a single line. Or is there a way ...

[Problem] Reading from txt files

k guys i have a text file that has a record of passwords, i am trying to read from that file if the guys username and passwords match access granted if not there denied. read = System.IO.File.OpenText("password records.txt")username = txtUsername.TextFor a = 1 To 10txtOutput.Text = read.Re ...

Is there a faster way to make passwords?

have made some code that will generate alphanumeric passwords and output them into a file. Each password size has its own function so i have 16 functions for sizes 1-16. The code works great its just that as you go up one size in the password size it will increases the time it takes to process by a ...

Are my passwords safe?

I currently run ad list where the ads are stored in a flat file. Users create an 'id' and a password. The password is encrypted. Users frequently forget their passwords so they can't deleted their ad. I then have to manually edit the txt file deleting their listing. The list has over 700 submissions ...

how to create password.txt file

Question 1Create a Password.txt file and key in 2 records with 2 fields:field name exampleuser id alipassword secretThe password must be encrypted (i.e. it uses a special code). Example of encryption method:a becomes zb becomes ax becomes wy becomes xz becomes y- e.g. the password "Secret" ...

read txt file problem

I am building my homepage without mysql.so I have to protected some pages,my passwords are kept in a txt filesuch as//txt.txtjiangdongjiangdong1//end of txt filewhen I submitted a form contend $pass//check_admin.php<?$filename="txt.txt";$ok=0;$myfile=fopen($filename,"r") or di ...

MD5 passwords from vbulletin

I want to use the passwords from Vbulletin with Webjeff's filemanager (http://www.webjeff.org/langages/php_scripts.htm)I placed the MD5-encrypted-passwords (from he vbulletin-database) next to the users in the /prive/user.txt file used by Webjeff F.M.This is a piece of the code where you fill in the ...

open >*.txt

Is there a way to open a txt file and read some entries?I want to enter to the txt file passwords like pass1pass2pass3etc.and then create an array of them, so when a user enters a pass of the txt file to enter a page. ...

Password Protection from a txt.file

I am experiencing a great degree of difficulty trying to password protect a page on my site. I have a .txt file of user id numbers which serve as passwords, and I want to create a java script to gain access that file from my html form. Any help out there? ...

Ubuntu Where does Firefox save passwords? NO. 2

There is another thread by this name. I did at he had done. When I got to Edit > Preferences > Security, Stored Password is empty.When I dig down to the signons3.txt file:-rw------- 1 dafy dafy 27939 2009-12-12 22:16 signons3.txt-rw------- 1 dafy dafy 771 2009-12-12 22:15 signons3.txt.backupTh ...

Ubuntu Where does Firefox save passwords?

HiII had to uninstall and reinstall firefox, I backuped my profile directory, and was able to restore my bookmarks, history and so on. But I couldn't restore my passwords. Google told me that the vanilla firefos stores them in the signons3.txt file so I copied it from the backup to de live directory ...

Ubuntu How to import passwords into "beta Firefox 3" from "Firefox 2"

I've been using Firefox 2 up until trying Ubuntu 8.04 that comes pre-installed with the beta version of Firefox 3. Because I don't know how to import my passwords into Firefox 3 I've used the package manager to install Firefox 2. To save my passwords in Firefox 2 I simply copied two files:- key3.db- ...

Ubuntu Where is the pass.txt file supposed to go in Hydra 5.4?

I just installed Hydra 5.4 and finished the make, make install stuff and i went to run it and after i enter in the info it says:Error: File for passwords not found!I made a pass.txt file and i don't know where to put it. Does anyone know where? ...

Ubuntu exporting wireless keys, passwords, ssid etc

Over the last year or so using Ubuntu I managed to accumulate about 20+ various wireless network settings I connect to (work, home, family, friends, enemies,.....)Now I am about to move to another laptop and I want to take my wireless passwords and ssid with me so I do not need to ask people again.I ...

Ubuntu backport of firefox issue -passwords not saving

I recently installed Warty - and then got the latest version of Firefox from the backports project. For some reason Firefox won't save my user ids/passwords (which is normally in a file named somerandomnumbers.s). I do have a file in the directory called signons.txt that looks like it might be the f ...

jQuery jcarousel Ajax txt file with Thickbox

Hi,I'm trying to have the new version of jcarousel load dynamically by atxt file in addition to having the loading pictures to open inthickbox. There are examples for 1 or the other and I've been tryingfor that last day to merge the 2 somehow. The past version had anexample of how to merge t ...