Fuzzing - Buffer Overflow - Ability Server - Could not Connect to FTP Server
Hi,
i am trying to send malformed string into ability ftp server in order to have some unexpected crashes. i login in into the ability ftp server on my window 7. On my virtual machine,i am working on a backtrack 4, i tried to send some string to have some unexpected crashes, but i couldn't success. here is the code: PHP Code:
Quote:
Regards |
Is there some reason you can't use ftplib rather than manually set up a socket/connection ? .. at least test it with ftplib first to make sure it works.
|
Quote:
ftplib didnt works with me too, it gave me cannot connect to server, when i go back home, i will show the script. Regards |
Then maybe it's a connection/firewall problem, please check basic connectivity (ping) and ensure any firewalls are allowing ftp traffic. It's easiest to turn them off considering this is just a test host.
|
Quote:
regarding the ftplib,i tried a script from this website. here is the script: PHP Code:
Code:
root@bt: ./test.py thanks in advance for your help. |
You'll need to tell the OS which interpreter to execute the script with, please add :-
Code:
#!/usr/bin/env python |
Quote:
oot@bt:~/Files/Script/bufferflow# ./test.py Could not Connect to FTP Server. Done. i dont know why |
So you still have a connection problem ... lets start at the start, please run these tests in order and post the results:-
From the linux machine: - ping 192.168.8.23 - telnet 192.168.8.23 21 From the Windows machine: - ping <ip_of_linux_machine> - netstat -a -p tcp | findstr 21 |
Hi kbp,
please find below the output: Code:
root@bt:~# ping 192.168.8.23 Code:
root@bt:~# telnet 192.168.8.23 21 Code:
Microsoft Windows [Version 6.1.7600] Code:
C:\Users\W1>netstat -a -p tcp | findstr 21 Regards |
It's probably the Windows Firewall .. do you need help to modify it ?
|
Quote:
|
In the "Control Panel" you'll find "Windows Firewall" - open it. There should be checkboxes that say "notify me when windows firewall blocks a new program" - ensure they're checked and the "block all incoming connections .. " ones are not.
The next time you attempt to connect to the ftp server a message should appear asking if you want to allow the access - say yes. |
Quote:
every thing is fine now, i can continue now ... Best regards |
All times are GMT -5. The time now is 06:31 PM. |