id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19,400 | ms09002.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/ms09002.py.svn-base | #!/usr/bin/env python
###############################################################################
# MS Internet Explorer 7 Memory Corruption Exploit (MS09-002) #
###############################################################################
# #
# Thanks to str0ke for fi... | 5,296 | Python | .py | 104 | 45.942308 | 1,053 | 0.594668 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,401 | quicktime.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/quicktime.py.svn-base | #!/usr/bin/env python
#
# Quicktime 7.3 RTSP BufferOverflow Exploit
#
# Original DoS exploit by h07
# Rewritten by: ReL1K
# SEH Overwrite
#
# A ton of help from Muts from offensive-security.
#
# root@sslinux1:/home/relik/Desktop# python quicktime.py
# [+] Listening on [RTSP] 554
# [+] Connection accepted from: 10.211... | 4,189 | Python | .py | 113 | 35.40708 | 95 | 0.712319 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,402 | mirc.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/mirc.py.svn-base | #!/usr/bin/env python
from socket import *
import subprocess
import os
import sys
import time
#from bin.include import print_banner
#print_banner()
print """
mIRC 6.34 Remote Buffer Overflow Exploit
Original Exploit by SkD (skdrat <at> hotmail <.> com)
Rewritten by: ReL1K for Fast-Track (perl to python c... | 3,144 | Python | .py | 67 | 45.19403 | 118 | 0.719596 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,403 | hpopenviewnnm.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/hpopenviewnnm.py.svn-base | #!/usr/bin/env python
import socket
import os
import sys
from time import sleep
from bin.include import print_banner
# Alphanumeric egghunter shellcode + restricted chars \x40\x3f\x3a\x2f - ph33r
# One egg to rule them all.
print_banner()
try:
target=sys.argv[4]
except IndexError:
print "HP OpenView NNM Expl... | 5,080 | Python | .py | 96 | 51.260417 | 116 | 0.716126 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,404 | ie0day_activex.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/ie0day_activex.py.svn-base | #!/usr/bin/env python
######################################################################################
# MS Internet Explorer 7 DirectShow (msvidctl.dll) Heap Spray (Advisory 972890) #
######################################################################################
# ... | 8,542 | Python | .py | 141 | 54.361702 | 1,069 | 0.529116 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,405 | hpopenview.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/hpopenview.py.svn-base | #!/usr/bin/env python
import os
import sys
#from bin.include import print_banner
#print_banner()
choice=raw_input(""" Enter which version you want to target:
All JMP ESP's are performed in User32.dll
1. Windows 2000 Service Pack 0 - JMP ESP 77D20738
2. Windows 2000 Service Pack 4 - JMP ESP 77e3c256
... | 5,419 | Python | .py | 96 | 48.697917 | 134 | 0.636191 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,406 | tftp.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/tftp.py.svn-base | #!/usr/bin/env python
# TFTP Server for Windows V1.4 ST (0day)
# http://sourceforge.net/projects/tftp-server/
# Tested on Windows Vista SP0.
# Coded by Mati Aharoni
# muts..at..offensive-security.com
# http://www.offensive-security.com/0day/sourceforge-tftpd.py.txt
######################################################... | 3,617 | Python | .py | 84 | 41.571429 | 84 | 0.664016 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,407 | goodtech.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/goodtech.py.svn-base | #!/usr/bin/env python
#
import subprocess
import os
import time
try:
import paramiko #@UnresolvedImport @UnusedImport
import sys
except IndexError:
print "Paramiko SSH Module not installed, download from:\n http://www.lag.net/paramiko/download/paramiko-1.7.4.tar.gz\nor in debian package is python-paramik... | 519 | Python | .py | 15 | 31.666667 | 163 | 0.755511 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,408 | goodtech1.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/goodtech1.py.svn-base | #!/usr/bin/env python
#
# Goodtech SSH Remote Buffer Overflow Universal Exploit
# Written by: ReL1K
# Original exploit discovery by: r0ut3r
#
#
# Tested on GoodTech 6.4 Windows 2003 SP0 and SP1
#
# rel1k@box:~/$ python goodtech.py
# Enter the IP or hostname of victim: 10.211.55.5
# Enter the username for server: admi... | 5,326 | Python | .py | 136 | 37.411765 | 164 | 0.717677 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,409 | ms08067.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/ms08067.py.svn-base | #!/usr/bin/env python
#############################################################################
# MS08-067 Exploit by Debasis Mohanty (aka Tr0y/nopsled)
# www.hackingspirits.com
# www.coffeeandsecurity.com
# Email: d3basis.m0hanty @ gmail.com
#################################################################... | 7,612 | Python | .py | 157 | 43.77707 | 141 | 0.641416 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,410 | xmlcorruptionbo.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/xmlcorruptionbo.py.svn-base | #!/usr/bin/env python
# Import modules needed here..all standard Python modules
#
# XML Parsing Buffer Overflow Heap Spray
#
# Most of the code was taken from Krafty's allinone exploit
# Greetz to Muts, HDM
#
# Rewritten by: David Kennedy aka ReL1K
# Tested on Windows 2k3 SP2
# win32_bind EXITFUNC=seh LPORT=5500 Size=... | 4,319 | Python | .py | 87 | 46.528736 | 1,061 | 0.725249 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,411 | firefox35.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/firefox35.py.svn-base | #!/usr/bin/env python
######################################################
#
# FireFox 3.5 Heap Spray (WIN, OSX, LINUX)
# LINUX = Cause Crash
# Smart Detection on Browser + OS
# Originally discovered by: Simon Berry-Bryne
# Pythonized by: David Kennedy (ReL1K) @ SecureState
#
#########################################... | 5,934 | Python | .py | 178 | 29.601124 | 163 | 0.659452 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,412 | ms08067run.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/ms08067run.py.svn-base | #!/usr/bin/env python
#
# had to add this due to paramariko dying when importing the function
#
#
import os
import sys
import subprocess
try:
from impacket import smb
from impacket import uuid
from impacket.dcerpc import dcerpc
from impacket.dcerpc import transport
except ImportError, _:
print ' ... | 703 | Python | .py | 21 | 30.761905 | 94 | 0.737537 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,413 | ibmcad.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/exploits/.svn/text-base/ibmcad.py.svn-base | #!/usr/bin/env python
import sys
import os
import socket
import time
#from bin.include import print_banner
#print_banner()
try:
import psyco
psyco.full()
except ImportError:
pass
choice=raw_input(""" Enter which version you want to target:
All JMP ESP's are performed in User32.dll
1. Windo... | 5,371 | Python | .py | 102 | 47.882353 | 132 | 0.676841 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,414 | ftgui_pageobjects.py | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/web/ftgui_pageobjects.py | ''' Created on Sep 20, 2010
@author: j0fer '''
import re
import string
# Header section for webpage
def load_header(self):
headeropen = file("bin/web/html/header", "r").readlines()
for line in headeropen:
self.wfile.write(line)
# Left hand nav section for webpage
def load_nav(self):
navopen = fil... | 2,387 | Python | .py | 68 | 30.514706 | 69 | 0.684759 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,415 | ftgui.py | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/web/ftgui.py | #!/usr/bin/env python
"""
Fast-Track Web GUI Front-End, very very beta... This is my first attempt at throwing something
together that is easier to use... It will be a gradual progression and improve as time goes along.
Thanks to everyone for the help and support through this and testing, much appreciated to everyone.
... | 51,345 | Python | .py | 1,154 | 37.136049 | 275 | 0.594206 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,416 | ftgui.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/web/.svn/text-base/ftgui.py.svn-base | #!/usr/bin/env python
"""
Fast-Track Web GUI Front-End, very very beta... This is my first attempt at throwing something
together that is easier to use... It will be a gradual progression and improve as time goes along.
Thanks to everyone for the help and support through this and testing, much appreciated to everyone.
... | 51,345 | Python | .py | 1,154 | 37.136049 | 275 | 0.594206 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,417 | ftgui_pageobjects.py.svn-base | pwnieexpress_raspberry_pwn/src/pentest/fasttrack/bin/web/.svn/text-base/ftgui_pageobjects.py.svn-base | ''' Created on Sep 20, 2010
@author: j0fer '''
import re
import string
# Header section for webpage
def load_header(self):
headeropen = file("bin/web/html/header", "r").readlines()
for line in headeropen:
self.wfile.write(line)
# Left hand nav section for webpage
def load_nav(self):
navopen = fil... | 2,387 | Python | .py | 68 | 30.514706 | 69 | 0.684759 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,418 | sickfuzz.py | pwnieexpress_raspberry_pwn/src/pentest/sickfuzz/sickfuzz.py | #!/usr/bin/env python
# Author: sickness
# Hope you like it
# For any bugs/suggestions contact sick.n3ss416@gmail.com
import sys,subprocess,time,os,signal,socket,getopt,urllib2
from time import sleep,localtime,strftime
#-------------------------------------------------------------------------------
spike = ""
fpath = "... | 8,981 | Python | .py | 248 | 33.528226 | 216 | 0.55752 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,419 | wifite.py | pwnieexpress_raspberry_pwn/src/pentest/wifite/wifite.py | #!/usr/bin/python
# -*- coding: cp1252 -*-
""" WIFITE
(c) 2010, 2011 derv merkler, Jose Maria Chia, Aaron
Type -h or -help for command-line options
"""
""" TODO LIST:
-crack at IVS option (-ivs)
-chop-chop stops if failed -- have it start again until it runs out of time!
-find someone to test SKA (m... | 119,239 | Python | .py | 3,018 | 34.909874 | 246 | 0.628291 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,420 | theHarvester.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/theHarvester.py | #!/usr/bin/env python
import string
import httplib, sys
from socket import *
import re
import getopt
from discovery import *
import hostchecker
print "\n*************************************"
print "*TheHarvester Ver. 2.0 (reborn) *"
print "*Coded by Christian Martorella *"
print "*Edge-Security Research ... | 6,245 | Python | .py | 216 | 25.884259 | 112 | 0.668384 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,421 | hostchecker.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/hostchecker.pyc | Ñò
�ŞÂMc @ s5 d Z d d k Z d d k Z d d d „ ƒ YZ d S( s$
Created by laramies on 2008-08-21.
iÿÿÿÿNt Checkerc B s e Z d „ Z d „ Z RS( c C s | | _ g | _ d S( N( t hostst realhosts( t selfR ( ( s0 /pentes... | 977 | Python | .py | 11 | 87.818182 | 340 | 0.427094 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,422 | parser.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/parser.py | import string
import re
class parser:
def __init__(self,results,word):
self.results=results
self.word=word
self.temp=[]
def genericClean(self):
self.results = re.sub('<em>', '', self.results)
self.results = re.sub('<b>', '', self.results)
self.results = re.sub('</b>', '', self.results)
self.results ... | 2,960 | Python | .py | 90 | 29.255556 | 81 | 0.606125 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,423 | parser.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/parser.pyc | —Ú
èfi¬Mc @ s/ d d k Z d d k Z d d d Ñ É YZ d S( iˇˇˇˇNt parserc B sb e Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z
d Ñ Z RS(
c C s | | _ | | _ g | _ d S( N( t resultst wordt temp(... | 4,636 | Python | .py | 21 | 219.761905 | 650 | 0.337305 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,424 | hostchecker.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/hostchecker.py | #!/usr/bin/env python
# encoding: utf-8
"""
Created by laramies on 2008-08-21.
"""
import sys
import socket
class Checker():
def __init__(self, hosts):
self.hosts = hosts
self.realhosts=[]
def check(self):
for x in self.hosts:
try:
res=socket.gethostbyname(x)
self.realhosts.append(res+":"+x)
... | 377 | Python | .py | 19 | 16.947368 | 37 | 0.696023 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,425 | linkedinsearch.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/linkedinsearch.pyc | Ñò
�ÞÂMc @ sS d d k Z d d k Z d d k Z d d k Z d d k Z d d d „ ƒ YZ d S( iÿÿÿÿNt search_linkedinc B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C sg | i d d ƒ | _ d | _ d | _ d | _ d | _ d | _ d | _... | 2,506 | Python | .py | 18 | 138.222222 | 540 | 0.446766 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,426 | googlesearch.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/googlesearch.py | import string
import httplib, sys
import parser
import re
import time
class search_google:
def __init__(self,word,limit,start):
self.word=word
self.files="pdf"
self.results=""
self.totalresults=""
self.server="www.google.com"
self.hostname="www.google.com"
self.userAgent="(Mozilla/5.0 (Windows; U; Windo... | 2,976 | Python | .py | 86 | 31.209302 | 217 | 0.709384 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,427 | yandexsearch.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/yandexsearch.pyc | Ñò
�ÞÂMc @ s_ d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d d „ ƒ YZ d S( iÿÿÿÿNt
search_yandexc B sY e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
RS( c C sL | | _ d | _ d | _ d... | 3,752 | Python | .py | 31 | 119.774194 | 473 | 0.422497 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,428 | googlesearch.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/googlesearch.pyc | Ñò
�ÞÂMc @ s_ d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d d „ ƒ YZ d S( iÿÿÿÿNt
search_googlec B st e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z d „ Z
RS( c C s^ |... | 5,194 | Python | .py | 30 | 171.8 | 1,020 | 0.411389 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,429 | yandexsearch.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/yandexsearch.py | import string
import httplib, sys
import parser
import re
import time
class search_yandex:
def __init__(self,word,limit,start):
self.word=word
self.results=""
self.totalresults=""
self.server="yandex.com"
self.hostname="yandex.com"
self.userAgent="(Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) ... | 1,977 | Python | .py | 62 | 28.629032 | 103 | 0.726984 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,430 | exaleadsearch.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/exaleadsearch.pyc | —Ú
èfi¬Mc @ s_ d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d d Ñ É YZ d S( iˇˇˇˇNt search_exaleadc B sY e Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z
RS( c C sU | | _ d | _ d | _ ... | 3,912 | Python | .py | 23 | 168.73913 | 620 | 0.427432 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,431 | linkedinsearch.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/linkedinsearch.py | import string
import httplib, sys
import parser
import re
class search_linkedin:
def __init__(self,word,limit):
self.word=word.replace(' ', '%20')
self.results=""
self.totalresults=""
self.server="www.google.com"
self.hostname="www.google.com"
self.userAgent="(Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US... | 1,229 | Python | .py | 42 | 26.119048 | 121 | 0.702634 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,432 | pgpsearch.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/pgpsearch.py | import string
import httplib, sys
import parser
class search_pgp:
def __init__(self,word):
self.word=word
self.results=""
self.server="pgp.rediris.es:11371"
self.hostname="pgp.rediris.es"
self.userAgent="(Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
def process(se... | 819 | Python | .py | 24 | 30.916667 | 103 | 0.731707 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,433 | bingsearch.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/bingsearch.pyc | —Ú
èfi¬Mc @ s_ d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d d Ñ É YZ d S( iˇˇˇˇNt search_bingc B sY e Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z
RS( c C sy | i d d É | _ d | _ ... | 4,543 | Python | .py | 28 | 160.964286 | 799 | 0.428477 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,434 | bingsearch.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/bingsearch.py | import string
import httplib, sys
import parser
import re
import time
class search_bing:
def __init__(self,word,limit,start):
self.word=word.replace(' ', '%20')
self.results=""
self.totalresults=""
self.server="www.bing.com"
self.apiserver="api.search.live.net"
self.hostname="www.bing.com"
self.userAgen... | 2,765 | Python | .py | 76 | 33.039474 | 141 | 0.712894 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,435 | exaleadsearch.py | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/exaleadsearch.py | import string
import httplib, sys
import parser
import re
import time
class search_exalead:
def __init__(self,word,limit,start):
self.word=word
self.files="pdf"
self.results=""
self.totalresults=""
self.server="www.exalead.com"
self.hostname="www.exalead.com"
self.userAgent="(Mozilla/5.0 (Windows; U; Wi... | 2,128 | Python | .py | 66 | 28.893939 | 136 | 0.722986 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,436 | pgpsearch.pyc | pwnieexpress_raspberry_pwn/src/pentest/theharvester/discovery/pgpsearch.pyc | —Ú
èfi¬Mc @ sG d d k Z d d k Z d d k Z d d k Z d d d Ñ É YZ d S( iˇˇˇˇNt
search_pgpc B s, e Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z RS( c C s1 | | _ d | _ d | _ d | _ d | _ d S( Nt s pgp.rediris.es:11371s pgp.rediri... | 1,859 | Python | .py | 13 | 141.846154 | 471 | 0.460747 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,437 | miranda.py | pwnieexpress_raspberry_pwn/src/pentest/miranda/miranda.py | #!/usr/bin/env python
################################
# Interactive UPNP application #
# Craig Heffner #
# www.sourcesec.com #
# 07/16/2008 #
################################
try:
import sys,os
from socket import *
from urllib2 import URLError, HTTPError
from platform i... | 51,446 | Python | .py | 1,524 | 28.774278 | 370 | 0.662714 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,438 | processor.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/processor.pyc | Ñò
ÎÈMc @ s d Z d d d „ ƒ YZ d S( sR
This class will sort the results and create unique list of soft, users and paths
t processorc B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s( | | _ g | _ g | _ g | _ d S( N( t... | 1,963 | Python | .py | 23 | 84.217391 | 445 | 0.395157 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,439 | unzip.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/unzip.py | """ unzip.py
Version: 1.1
Extract a zipfile to the directory provided
It first creates the directory structure to house the files
then it extracts the files to it.
Sample usage:
command line
unzip.py -p 10 -z c:\testfile.zip -o c:\testoutput
python class
import unzip
un = unzi... | 3,848 | Python | .py | 112 | 25.848214 | 69 | 0.573061 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,440 | unzip.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/unzip.pyc | Ñò
ÎÈMc @ sƒ d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d d „ ƒ YZ d „ Z d „ Z e d j o e ƒ n d S( s� unzip.py
Version: 1.1
Extract a zipfile to the directory provided
It first creates the directory structure to house the files
then ... | 4,750 | Python | .py | 46 | 99.673913 | 742 | 0.441841 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,441 | metagoofil.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/metagoofil.py | from discovery import googlesearch
from extractors import *
import urllib
import os
import downloader
import processor
import sys
import getopt
import markup
import warnings
warnings.filterwarnings("ignore") # To prevent errors from hachoir deprecated functions, need to fix.
print "\n*********************************... | 6,631 | Python | .py | 214 | 27.313084 | 101 | 0.644195 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,442 | markup.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/markup.py | # This code is in the public domain, it comes
# with absolutely no warranty and you can do
# absolutely whatever you want with it.
__date__ = '17 May 2007'
__version__ = '1.7'
__doc__= """
This is markup.py - a Python module that attempts to
make it easier to generate HTML/XML from a Python program
in an intuitive, li... | 18,829 | Python | .py | 385 | 38.94026 | 122 | 0.576291 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,443 | markup.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/markup.pyc | —Ú
Œ»Mc @ s¿ d Z d Z d e e f Z d d k Z d d* d Ñ É YZ d d+ d Ñ É YZ d d, d
Ñ É YZ e d d É Z e d d
É Z d Ñ Z d Ñ Z
e d Ñ Z e Z
d Ñ Z d d- d Ñ É YZ e É Z d e _ d e _ d e _ d d. d Ñ É YZ d e f d Ñ É YZ d e f d Ñ É YZ ... | 21,730 | Python | .py | 135 | 154.318519 | 4,845 | 0.459258 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,444 | parser.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/parser.py | import string
import re
class parser:
def __init__(self,results,word,file):
self.results=results
self.word=word
self.temp=[]
self.file=file
def genericClean(self):
self.results = re.sub('<em>', '', self.results)
self.results = re.sub('<b>', '', self.results)
self.results = re.sub('</b>', '', self.re... | 2,957 | Python | .py | 90 | 29.222222 | 81 | 0.605356 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,445 | downloader.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/downloader.py | import urllib, os
class downloader():
def __init__(self,url,dir):
self.url=url
self.dir=dir
self.filename=str(url.split("/")[-1])
def down(self):
if os.path.exists(self.dir+"/"+self.filename):
pass
else:
try:
urllib.urlretrieve(self.url,self.dir+"/"+self.filename)
except:
print "Error d... | 405 | Python | .py | 17 | 20.470588 | 61 | 0.681347 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,446 | parser.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/parser.pyc | Ñò
ÎÈMc @ s/ d d k Z d d k Z d d d „ ƒ YZ d S( iÿÿÿÿNt parserc B sb e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z RS(
c C s( | | _ | | _ g | _ | | _ d S( N( t resultst wordt... | 4,703 | Python | .py | 22 | 212.772727 | 509 | 0.342161 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,447 | downloader.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/downloader.pyc | Ñò
ÎÈMc @ s/ d d k Z d d k Z d d d „ ƒ YZ d S( iÿÿÿÿNt
downloaderc B s# e Z d „ Z d „ Z d „ Z RS( c C s2 | | _ | | _ t | i d ƒ d ƒ | _ d S( Nt /iÿÿÿÿ( t urlt dirt strt splitt filename( t self... | 1,181 | Python | .py | 5 | 235.2 | 849 | 0.417162 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,448 | processor.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/processor.py | #Christian Martorella 2011
'''
This class will sort the results and create unique list of soft, users and paths
'''
class processor():
def __init__(self,list):
self.list=list
self.unique_users=[]
self.unique_soft=[]
self.unique_paths=[]
def print_all(self):
for x in self.list:
print x[0]
... | 1,033 | Python | .py | 44 | 18.25 | 80 | 0.592065 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,449 | compatibility.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/compatibility.py | """
Compatibility constants and functions. This module works on Python 1.5 to 2.5.
This module provides:
- True and False constants ;
- any() and all() function ;
- has_yield and has_slice values ;
- isinstance() with Python 2.3 behaviour ;
- reversed() and sorted() function.
True and False constants
===============... | 4,441 | Python | .py | 148 | 26.351351 | 113 | 0.62688 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,450 | error.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/error.py | """
Functions to display an error (error, warning or information) message.
"""
from hachoir_core.log import log
from hachoir_core.tools import makePrintable, makeUnicode
import sys, traceback
def getBacktrace(empty="Empty backtrace."):
"""
Try to get backtrace as string.
Returns "Error while trying to get... | 1,346 | Python | .py | 39 | 29.74359 | 71 | 0.697692 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,451 | bits.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/bits.py | """
Utilities to convert integers and binary strings to binary (number), binary
string, number, hexadecimal, etc.
"""
from hachoir_core.endian import BIG_ENDIAN, LITTLE_ENDIAN
from hachoir_core.compatibility import reversed
from itertools import chain, repeat
from struct import calcsize, unpack, error as struct_error
... | 7,408 | Python | .py | 254 | 22.917323 | 86 | 0.57195 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,452 | event_handler.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/event_handler.pyc | Ñò
ÎÈMc @ s d e f d „ ƒ YZ d S( t EventHandlerc B s) e Z d Z d „ Z d „ Z d „ Z RS( s4
Class to connect events to event handlers.
c C s
h | _ d S( N( t handlers( t self( ( sD /pentest/enumeration/google/m... | 1,371 | Python | .py | 14 | 94.071429 | 245 | 0.481591 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,453 | dict.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/dict.pyc | —Ú
Œ»Mc @ sV d Z d d k l Z d d k l Z d e f d Ñ É YZ d e f d Ñ É YZ d S( s/
Dictionnary classes which store values order.
iˇˇˇˇ( t HachoirError( t _t UniqKeyErrorc B s e Z d Z RS( s^
Error raised when a value is set whereas ... | 7,349 | Python | .py | 79 | 86.278481 | 821 | 0.414429 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,454 | dict.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/dict.py | """
Dictionnary classes which store values order.
"""
from hachoir_core.error import HachoirError
from hachoir_core.i18n import _
class UniqKeyError(HachoirError):
"""
Error raised when a value is set whereas the key already exist in a
dictionnary.
"""
pass
class Dict(object):
"""
This cl... | 5,376 | Python | .py | 154 | 26.11039 | 79 | 0.518583 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,455 | iso639.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/iso639.py | # -*- coding: utf-8 -*-
"""
ISO639-2 standart: the module only contains the dictionary ISO639_2
which maps a language code in three letters (eg. "fre") to a language
name in english (eg. "French").
"""
# ISO-639, the list comes from:
# http://www.loc.gov/standards/iso639-2/php/English_list.php
_ISO639 = (
(u"Abkha... | 18,544 | Python | .py | 555 | 28.49009 | 69 | 0.497219 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,456 | profiler.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/profiler.py | from hotshot import Profile
from hotshot.stats import load as loadStats
from os import unlink
def runProfiler(func, args=tuple(), kw={}, verbose=True, nb_func=25, sort_by=('cumulative', 'calls')):
profile_filename = "/tmp/profiler"
prof = Profile(profile_filename)
try:
if verbose:
print... | 923 | Python | .py | 29 | 23.310345 | 102 | 0.569507 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,457 | config.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/config.py | """
Configuration of Hachoir
"""
import os
# UI: display options
max_string_length = 40 # Max. length in characters of GenericString.display
max_byte_length = 14 # Max. length in bytes of RawBytes.display
max_bit_length = 256 # Max. length in bits of RawBits.display
unicode_stdout = True # Replace st... | 983 | Python | .py | 23 | 39.826087 | 85 | 0.701258 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,458 | log.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/log.pyc | —Ú
Œ»Mc @ sy d d k Z d d k Z d d k Z d d k i Z d d k l Z d d d Ñ É YZ e É Z d e f d Ñ É YZ
d S( iˇˇˇˇN( t _t Logc B sÉ e Z d Z d Z d Z h d e 6d e 6d e 6Z d Ñ Z d Ñ Z e d Ñ Z d Ñ Z
d d
Ñ Z d Ñ Z
d Ñ ... | 5,599 | Python | .py | 54 | 99.222222 | 1,161 | 0.424319 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,459 | endian.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/endian.pyc | Ñò
ÎÈMc @ sL d Z d d k l Z d Z d Z e Z h e d ƒ e 6e d ƒ e 6Z d S( s
Constant values about endian.
iÿÿÿÿ( t _t ABCDt DCBAs
Big endians
Little endianN( t __doc__t hachoir_core.i18nR t
BIG_ENDIANt
LITTLE_ENDIANt NETWORK_ENDIANt endi... | 444 | Python | .py | 6 | 73 | 183 | 0.528474 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,460 | text_handler.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/text_handler.pyc | Ñò
ÎÈMc @ s¡ d Z d d k l Z l Z l Z l Z l Z d d k l Z l
Z
d d k l Z d d k
l Z d „ Z d „ Z e d ƒ d „ ƒ Z d
„ Z d „ Z d S(
sJ
Utilities used to convert a field to human classic reprentation of data.
iÿÿÿÿ( t
humanDurationt
humanFilesiz... | 3,205 | Python | .py | 35 | 88.8 | 294 | 0.493847 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,461 | language.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/language.pyc | Ñò
ÎÈMc @ s' d d k l Z d d d „ ƒ YZ d S( iÿÿÿÿ( t ISO639_2t Languagec B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s: t | ƒ } | t j o t d | ƒ ‚ n | | _ d S( Ns Invalid language code: %r( t strR... | 1,569 | Python | .py | 8 | 195.125 | 373 | 0.43726 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,462 | memory.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/memory.py | import gc
#---- Default implementation when resource is missing ----------------------
PAGE_SIZE = 4096
def getMemoryLimit():
"""
Get current memory limit in bytes.
Return None on error.
"""
return None
def setMemoryLimit(max_mem):
"""
Set memory limit in bytes.
Use value 'None' to d... | 2,448 | Python | .py | 83 | 22.831325 | 77 | 0.601619 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,463 | language.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/language.py | from hachoir_core.iso639 import ISO639_2
class Language:
def __init__(self, code):
code = str(code)
if code not in ISO639_2:
raise ValueError("Invalid language code: %r" % code)
self.code = code
def __cmp__(self, other):
if other.__class__ != Language:
r... | 586 | Python | .py | 17 | 26.882353 | 70 | 0.571936 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,464 | tools.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/tools.pyc | —Ú
Œ»Mc @ s÷ d Z d d k l Z l Z d d k Z d d k Z d d k l Z l Z l Z d d k l
Z
d d Ñ Z d Ñ Z
d Ñ Z d Ñ Z d
Ñ Z d Ñ Z d Ñ Z d
Ñ Z d Ñ Z d Ñ Z e i d É Z e d Ñ e d É DÉ É Z d e e d Ñ Z d Ñ Z d Ñ Z d Ñ Z d Ñ Z! d Ñ... | 20,206 | Python | .py | 286 | 66.363636 | 621 | 0.499723 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,465 | config.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/config.pyc | Ñò
ÎÈMc @ sl d Z d d k Z d Z d Z d Z e Z e Z e Z e Z
e i d j o
e Z n e Z e Z
e Z d S( s
Configuration of Hachoir
iÿÿÿÿNi( i i t nt( t __doc__t ost max_string_lengtht max_byte_lengtht max_bit_lengtht Truet unicode_stdoutt ... | 546 | Python | .py | 7 | 77 | 366 | 0.512963 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,466 | i18n.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/i18n.pyc | Ñò
ÎÈMc @ s, d Z d d k i Z d d k Z d d k Z d d k l Z d d k Z d „ Z d „ Z d d d „ ƒ YZ
d „ Z d „ Z d
„ Z
d „ Z d d d f Z e d i d ƒ ƒ d f e d i d ƒ ƒ d f e d i d ƒ ƒ d f e d i d ƒ ƒ d f f Z d d „ Z e ƒ \ Z Z ... | 6,854 | Python | .py | 72 | 92.430556 | 692 | 0.488938 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,467 | i18n.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/i18n.py | # -*- coding: UTF-8 -*-
"""
Functions to manage internationalisation (i18n):
- initLocale(): setup locales and install Unicode compatible stdout and
stderr ;
- getTerminalCharset(): guess terminal charset ;
- gettext(text) translate a string to current language. The function always
returns Unicode string. You can a... | 6,011 | Python | .py | 178 | 27.792135 | 127 | 0.664876 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,468 | benchmark.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/benchmark.py | from hachoir_core.tools import humanDurationNanosec
from hachoir_core.i18n import _
from math import floor
from time import time
class BenchmarkError(Exception):
"""
Error during benchmark, use str(err) to format it as string.
"""
def __init__(self, message):
Exception.__init__(self,
... | 6,784 | Python | .py | 182 | 27.824176 | 78 | 0.578947 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,469 | error.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/error.pyc | Ñò
ÎÈMc @ s£ d Z d d k l Z d d k l Z l Z d d k Z d d k Z d d „ Z d e f d „ ƒ YZ
e
e e e
e e e e f Z e i Z e i Z e i Z d S( sH
Functions to display an error (error, warning or information) message.
iÿÿÿÿ( t log( t
makePrintablet ... | 2,081 | Python | .py | 15 | 136.4 | 544 | 0.502177 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,470 | cmd_line.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/cmd_line.py | from optparse import OptionGroup
from hachoir_core.log import log
from hachoir_core.i18n import _, getTerminalCharset
from hachoir_core.tools import makePrintable
import hachoir_core.config as config
def getHachoirOptions(parser):
"""
Create an option group (type optparse.OptionGroup) of Hachoir
library op... | 1,456 | Python | .py | 38 | 32.921053 | 78 | 0.700637 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,471 | log.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/log.py | import os, sys, time
import hachoir_core.config as config
from hachoir_core.i18n import _
class Log:
LOG_INFO = 0
LOG_WARN = 1
LOG_ERROR = 2
level_name = {
LOG_WARN: "[warn]",
LOG_ERROR: "[err!]",
LOG_INFO: "[info]"
}
def __init__(self):
self.__buffer = {}... | 4,237 | Python | .py | 121 | 25.495868 | 86 | 0.543855 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,472 | compatibility.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/compatibility.pyc | Ñò
ÎÈMc ( @ s d Z d d k Z d d k Z y e Z e Z Wn e j
o d Z d Z n Xy d d k l Z Wn e j
o d „ Z n Xy d d k l Z Wn e j
o d „ Z n Xy e
e d d
d ƒ ƒ Wn e e
f j
o
e Z n Xe Z y e
d ƒ Z Wn e e
f j
o
e ... | 4,744 | Python | .py | 86 | 53.72093 | 476 | 0.529463 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,473 | tools.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/tools.py | # -*- coding: utf-8 -*-
"""
Various utilities.
"""
from hachoir_core.i18n import _, ngettext
import re
import stat
from datetime import datetime, timedelta, MAXYEAR
from warnings import warn
def deprecated(comment=None):
"""
This is a decorator which can be used to mark functions
as deprecated. It will r... | 17,255 | Python | .py | 506 | 28.120553 | 84 | 0.605435 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,474 | text_handler.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/text_handler.py | """
Utilities used to convert a field to human classic reprentation of data.
"""
from hachoir_core.tools import (
humanDuration, humanFilesize, alignValue,
durationWin64 as doDurationWin64,
deprecated)
from types import FunctionType, MethodType
from hachoir_core.i18n import _
from hachoir_core.field import... | 1,935 | Python | .py | 52 | 33.038462 | 76 | 0.707044 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,475 | event_handler.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/event_handler.py | class EventHandler(object):
"""
Class to connect events to event handlers.
"""
def __init__(self):
self.handlers = {}
def connect(self, event_name, handler):
"""
Connect an event handler to an event. Append it to handlers list.
"""
try:
self.hand... | 703 | Python | .py | 22 | 23.5 | 73 | 0.581979 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,476 | iso639.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/iso639.pyc | Ñò
ÎÈMc @ s§ d Z d½d¾d¿dÀdÁdÂdÃdÄdÅdÆdÇdÈdÉdÊdËdÌdÍdÎdÏdĞdÑdÒdÓdÔdÕdÖd×dØdÙdÚdÛdÜdİdŞdßdàdádâdãdädådædçdèdédêdëdìdídîdïdğdñdòdódôdõdöd÷dødùdúdûdüdıdşdÿd ddddddddd d
ddd
dddddddddddddd... | 31,224 | Python | .py | 60 | 519.4 | 3,488 | 0.51314 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,477 | bits.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/bits.pyc | Ñò
ÎÈMc @ sã d Z d d k l Z l Z d d k l Z d d k l Z l Z d d k l
Z
l Z l Z
d „ Z d „ Z d „ Z d d
d d „ Z d
„ Z e d „ Z d d „ Z e d „ Z e d „ Z d „ Z e ƒ Z d „ Z d S( so
Utilities to convert integers and binary strings to ... | 8,423 | Python | .py | 121 | 65.404959 | 632 | 0.45255 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,478 | cmd_line.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/cmd_line.pyc | Ñò
ÎÈMc @ sw d d k l Z d d k l Z d d k l Z l Z d d k l Z d d k i
Z
d „ Z d „ Z d d „ Z d S( iÿÿÿÿ( t OptionGroup( t log( t _t getTerminalCharset( t
makePrintableNc
C s¿ d „ } t | t d ƒ d ƒ } | i d d t... | 2,147 | Python | .py | 17 | 124.470588 | 498 | 0.492726 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,479 | timeout.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/timeout.py | """
limitedTime(): set a timeout in seconds when calling a function,
raise a Timeout error if time exceed.
"""
from math import ceil
IMPLEMENTATION = None
class Timeout(RuntimeError):
"""
Timeout error, inherits from RuntimeError
"""
pass
def signalHandler(signum, frame):
"""
Signal handler t... | 2,131 | Python | .py | 64 | 25.421875 | 77 | 0.617518 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,480 | endian.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/endian.py | """
Constant values about endian.
"""
from hachoir_core.i18n import _
BIG_ENDIAN = "ABCD"
LITTLE_ENDIAN = "DCBA"
NETWORK_ENDIAN = BIG_ENDIAN
endian_name = {
BIG_ENDIAN: _("Big endian"),
LITTLE_ENDIAN: _("Little endian"),
}
| 235 | Python | .py | 11 | 19.272727 | 38 | 0.695455 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,481 | version.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/version.py | PACKAGE = "hachoir-core"
VERSION = "1.2.1"
WEBSITE = 'http://hachoir.org/wiki/hachoir-core'
LICENSE = 'GNU GPL v2'
| 116 | Python | .py | 4 | 27.75 | 48 | 0.711712 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,482 | link.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/link.py | from hachoir_core.field import Field, FieldSet, ParserError, Bytes, MissingField
from hachoir_core.stream import FragmentedStream
class Link(Field):
def __init__(self, parent, name, *args, **kw):
Field.__init__(self, parent, name, 0, *args, **kw)
def hasValue(self):
return True
def creat... | 3,176 | Python | .py | 89 | 26.280899 | 80 | 0.582654 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,483 | basic_field_set.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/basic_field_set.pyc | Ñò
ÎÈMc @ s’ d d k l Z l Z d d k l Z d d k l Z l Z d d k l Z d e f d „ ƒ YZ
d e f d „ ƒ YZ d e f d
„ ƒ YZ d S( iÿÿÿÿ( t Fieldt
FieldError( t InputStream( t
BIG_ENDIANt
LITTLE_ENDIAN( t EventHandlert ParserErrorc ... | 5,995 | Python | .py | 30 | 196.966667 | 1,889 | 0.466544 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,484 | fake_array.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/fake_array.py | import itertools
from hachoir_core.field import MissingField
class FakeArray:
"""
Simulate an array for GenericFieldSet.array(): fielset.array("item")[0] is
equivalent to fielset.array("item[0]").
It's possible to iterate over the items using::
for element in fieldset.array("item"):
... | 2,294 | Python | .py | 71 | 21.873239 | 78 | 0.521464 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,485 | vector.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/vector.py | from hachoir_core.field import Field, FieldSet, ParserError
class GenericVector(FieldSet):
def __init__(self, parent, name, nb_items, item_class, item_name="item", description=None):
# Sanity checks
assert issubclass(item_class, Field)
assert isinstance(item_class.static_size, (int, long))
... | 1,356 | Python | .py | 32 | 34.875 | 106 | 0.623672 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,486 | padding.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/padding.pyc | Ñò
ÎÈMc @ s˜ d d k l Z l Z d d k l Z l Z d d k l Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ
d
e f d „ ƒ YZ d S(
iÿÿÿÿ( t Bitst Bytes( t
makePrintablet
humanFilesize( t configt PaddingBitsc B sD e Z d ... | 6,412 | Python | .py | 56 | 111.571429 | 495 | 0.471737 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,487 | string_field.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/string_field.py | """
String field classes:
- String: Fixed length string (no prefix/no suffix) ;
- CString: String which ends with nul byte ("\0") ;
- UnixLine: Unix line of text, string which ends with "\n" ;
- PascalString8, PascalString16, PascalString32: String prefixed with
length written in a 8, 16, 32-bit integer (use parent e... | 14,124 | Python | .py | 319 | 34.586207 | 115 | 0.595853 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,488 | byte_field.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/byte_field.py | """
Very basic field: raw content with a size in byte. Use this class for
unknown content.
"""
from hachoir_core.field import Field, FieldError
from hachoir_core.tools import makePrintable
from hachoir_core.bits import str2hex
from hachoir_core import config
MAX_LENGTH = (2**64)
class RawBytes(Field):
"""
By... | 2,190 | Python | .py | 60 | 28.283333 | 80 | 0.601795 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,489 | field.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/field.pyc | —Ú
Œ»Mc
@ sŒ d Z d d k l Z d d k l Z d d k l Z l Z d d k l Z d d k
l Z d d k l
Z
d d k l Z d e f d
Ñ É YZ d Ñ Z d e e f d
Ñ É YZ d e f d Ñ É YZ d S( s2
Parent of all (field) classes in Hachoir: Field.
iˇˇˇˇ( t reversed(... | 12,812 | Python | .py | 68 | 184.720588 | 1,580 | 0.462764 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,490 | timestamp.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/timestamp.pyc | Ñò
ÎÈMc @ s d d k l Z l Z l Z l Z l Z l Z d d k l Z l Z d d k
l
Z
d e f d „ ƒ YZ d „ Z e d e d ƒ Z
e d e d
ƒ Z e d e d ƒ Z e d e d ƒ Z e d
e d
ƒ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿ( ... | 5,493 | Python | .py | 23 | 237.086957 | 884 | 0.452751 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,491 | enum.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/enum.py | def Enum(field, enum, key_func=None):
"""
Enum is an adapter to another field: it will just change its display
attribute. It uses a dictionnary to associate a value to another.
key_func is an optional function with prototype "def func(key)->key"
which is called to transform key.
"""
display... | 801 | Python | .py | 24 | 24.291667 | 72 | 0.603871 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,492 | field_set.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/field_set.py | from hachoir_core.field import BasicFieldSet, GenericFieldSet
class FieldSet(GenericFieldSet):
def __init__(self, parent, name, *args, **kw):
assert issubclass(parent.__class__, BasicFieldSet)
GenericFieldSet.__init__(self, parent, name, parent.stream, *args, **kw)
| 288 | Python | .py | 5 | 52.2 | 80 | 0.711744 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,493 | integer.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/integer.py | """
Integer field classes:
- UInt8, UInt16, UInt24, UInt32, UInt64: unsigned integer of 8, 16, 32, 64 bits ;
- Int8, Int16, Int24, Int32, Int64: signed integer of 8, 16, 32, 64 bits.
"""
from hachoir_core.field import Bits, FieldError
class GenericInteger(Bits):
"""
Generic integer class used to generate othe... | 1,844 | Python | .py | 37 | 45.189189 | 86 | 0.684444 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,494 | static_field_set.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/static_field_set.py | from hachoir_core.field import FieldSet, ParserError
class StaticFieldSet(FieldSet):
"""
Static field set: format class attribute is a tuple of all fields
in syntax like:
format = (
(TYPE1, ARG1, ARG2, ...),
(TYPE2, ARG1, ARG2, ..., {KEY1=VALUE1, ...}),
...
)
... | 1,870 | Python | .py | 46 | 31.478261 | 76 | 0.585903 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,495 | bit_field.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/bit_field.py | """
Bit sized classes:
- Bit: Single bit, value is False or True ;
- Bits: Integer with a size in bits ;
- RawBits: unknown content with a size in bits.
"""
from hachoir_core.field import Field
from hachoir_core.i18n import _
from hachoir_core import config
class RawBits(Field):
"""
Unknown content with a siz... | 1,777 | Python | .py | 54 | 26.611111 | 72 | 0.626097 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,496 | static_field_set.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/static_field_set.pyc | Ñò
ÎÈMc @ s0 d d k l Z l Z d e f d „ ƒ YZ d S( iÿÿÿÿ( t FieldSett ParserErrort StaticFieldSetc B sP e Z d Z d Z d Z d „ Z e d „ ƒ Z d „ Z e
d „ ƒ Z e Z RS( s1
Static field set: format class attribute is a tuple of all fie... | 2,648 | Python | .py | 23 | 111.478261 | 433 | 0.465905 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,497 | float.py | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/float.py | from hachoir_core.field import Bit, Bits, FieldSet
from hachoir_core.endian import BIG_ENDIAN, LITTLE_ENDIAN
import struct
# Make sure that we use right struct types
assert struct.calcsize("f") == 4
assert struct.calcsize("d") == 8
assert struct.unpack("<d", "\x1f\x85\xebQ\xb8\x1e\t@")[0] == 3.14
assert struct.unpack(... | 3,539 | Python | .py | 82 | 32.256098 | 91 | 0.568895 | pwnieexpress/raspberry_pwn | 1,024 | 184 | 8 | GPL-3.0 | 9/5/2024, 5:12:22 PM (Europe/Amsterdam) |
19,498 | __init__.pyc | pwnieexpress_raspberry_pwn/src/pentest/metagoofil/hachoir_core/field/__init__.pyc | Ñò
ÎÈMc 7 @ sÚ d d k l Z l Z l Z l Z d d k l Z l Z l Z d d k l
Z
l Z d d k l
Z
l Z d d k l Z d d k l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z l Z d d k l Z d d k l Z l! Z! l" Z" l# Z# l$ Z$ l% Z% l& |