Jump to content
Sign in to follow this  
Gravity

FTP Server

Recommended Posts

Gravity

Soo i want to create application in which user need to write his id and password and when he click login then this application connect to ftp server and search in users.txt if user with id admin password exits . If exits then he hide form 1 and show form 2 . If not exits then he get msgbox something went wrong .

Should user need download it then application search for id and password ? And if he need to download then i should delete this file .Because they can see what is in user.txt .

Can someone help?

Share this post


Link to post
Share on other sites
Unc3nZureD

Try this one to read the user.txt:

http://www.autoitscript.com/autoit3/docs/functions/InetRead.htm

It can read the file without downloading, however AVOID! Users are still able to type: www.asd.com/user.txt and they will see all your login information.

About forms you have to review GuiCtreate, GuiSetState and GuiDelete.

Have fun, you can find all of them in the help file!

Share this post


Link to post
Share on other sites
Gravity

Ehm . How they can go to this site if they dont know adress ? I think this will be good when i change it to dat and change name not to user.txt but ex . something.dat and when it find that id and password is good then it delete file .From user disk .

Share this post


Link to post
Share on other sites
Unc3nZureD

Maybe anyone can Sniff it with wireshark or similar tools? :P Of course it depends on you target, if they are clever enough :)

Share this post


Link to post
Share on other sites
Gravity

Just one question . How i can do that application read user login and user password and then open users.txt from ftp and search String . Example if he writed Admin then it searchs in user.txt Admin but if it dont found it then he got messagebox ? This is just GUICtrlRead and InetRead ?

Share this post


Link to post
Share on other sites
Gravity

 I know that this is input ... But i mean how to do when user login with id admin and pass admin then app search in users.txt if id admin and pass admin exists...  >_< Is this is only  GUICtrlRead and InetRead ?

Edited by Gravity

Share this post


Link to post
Share on other sites
Unc3nZureD

it depends on how you store passwords in your file.

If you dowload it with inetget then i suggest using ini format and reading it with iniread.

Anyways if you use inetread we cant help u if you dont provide us any ewample.

Share this post


Link to post
Share on other sites
Gravity

I changed my mind xd .. Webrequest is better for this ? Because he said that ftp is unstable..I need one answer and i will close this topic.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.