└── CANVAS_HTSRL ├── libs ├── notes.html ├── yahoo │ ├── __init__.py │ └── search │ │ ├── version.py │ │ └── dom │ │ └── term.py ├── genshi │ ├── template │ │ ├── tests │ │ │ ├── templates │ │ │ │ ├── __init__.py │ │ │ │ ├── functions.html │ │ │ │ └── test.html │ │ │ ├── base.py │ │ │ └── __init__.py │ │ └── __init__.py │ ├── filters │ │ ├── __init__.py │ │ └── tests │ │ │ └── __init__.py │ ├── __init__.py │ └── tests │ │ └── __init__.py ├── pymsrpc │ ├── tests │ │ └── __init__.py │ ├── __init__.py │ ├── scripts │ │ ├── export_pida_from_idb.py │ │ ├── export_idl_from_idb.py │ │ └── midl_format_pointer_flags.py │ └── LICENSE.txt ├── Crypto │ ├── Cipher │ │ ├── Blowfish.py │ │ ├── DES3.py │ │ ├── RC4.py │ │ ├── AES.py │ │ └── __init__.py │ ├── Hash │ │ ├── SHA.py │ │ ├── MD5.py │ │ └── __init__.py │ ├── Util │ │ ├── __init__.py │ │ └── test │ │ │ └── prime_speed.py │ ├── LICENSE │ ├── Protocol │ │ └── __init__.py │ ├── PublicKey │ │ ├── __init__.py │ │ └── test │ │ │ └── rsa_speed.py │ ├── test │ │ ├── test_allornothing.py │ │ ├── test_rfc1751.py │ │ ├── test_hmac.py │ │ └── test_randpool.py │ ├── __init__.py │ └── test.py ├── pyPdf │ └── __init__.py ├── MS06_24 │ ├── immunity.wms │ └── actions.js.wmx ├── aixroot │ └── mosdef_reexec_52.a ├── pysnmp │ ├── __init__.py │ ├── error.py │ └── LICENSE ├── requestcache.html ├── topright.html ├── titleframe.html ├── Plex │ ├── test_tm.py │ ├── LICENSE.txt │ ├── Timing.py │ ├── __init__.py │ └── Errors.py ├── bottomright.html ├── notes.py ├── tlslite │ ├── utils │ │ ├── RC4.py │ │ ├── PyCrypto_RC4.py │ │ ├── PyCrypto_AES.py │ │ ├── OpenSSL_RC4.py │ │ ├── PyCrypto_TripleDES.py │ │ ├── TripleDES.py │ │ ├── __init__.py │ │ ├── Cryptlib_RC4.py │ │ ├── ASN1Parser.py │ │ ├── AES.py │ │ ├── Python_RC4.py │ │ ├── Cryptlib_AES.py │ │ ├── Cryptlib_TripleDES.py │ │ └── OpenSSL_TripleDES.py │ ├── integration │ │ └── __init__.py │ └── __init__.py ├── tftpy │ ├── __init__.py │ └── TftpPacketFactory.py ├── index.html ├── __init__.py ├── filesystem.py ├── left.html ├── targetrm.py ├── mysql_test.py ├── paramiko │ ├── compress.py │ └── logging22.py ├── dnslookup.py ├── searchAPI.py ├── output_spkproxy.py └── help.html ├── fuzzers ├── __init__.py ├── SPIKESCRIPTS │ ├── base64.spk │ ├── tftpd4.spk │ ├── tftpd3.spk │ ├── tftpd5.spk │ ├── tftpd2.spk │ ├── tftpd1.spk │ ├── imap_ntlm.spk │ └── tftpd6.spk └── dcefuzz_msdns.py ├── userdata ├── Resources ├── favmodules.txt ├── base.odb ├── blank.pdf ├── test2.pdf ├── icmp_proxy.exe ├── javanode.jar ├── ms07_066.exe ├── ms08_025.exe ├── ms08_049.exe ├── templates │ ├── template_cert.doc │ ├── template_cert.ppt │ └── template_cert.xls ├── newmodules.txt ├── vulnassess.txt ├── server.pkey ├── server.cert └── ifids.txt ├── MOSDEF ├── test.c ├── MOSDEFlibc │ ├── asm │ │ ├── Solaris │ │ │ └── __init__.py │ │ ├── Linux │ │ │ └── __init__.py │ │ └── __init__.py │ ├── OPENSTEP.py │ ├── NextSTEP.py │ ├── Mach.py │ ├── UnixSystemV.py │ ├── Darwin.py │ ├── SunOS.py │ ├── Win32.py │ ├── Rhapsody.py │ ├── ANSI.py │ ├── NetBSD.py │ ├── GNU.py │ ├── SVR4.py │ ├── OSF1.py │ ├── FreeBSD.py │ ├── BSD.py │ ├── POSIX.py │ └── IRIX.py ├── binfmt │ └── __init__.py ├── riscassembler.py ├── __init__.py ├── sparcscan.py ├── sparcparse.py ├── ppcscan.py ├── riscscan.py ├── il2risc.py ├── ppcparse.py ├── struct_endian.py └── solarisremoteresolver.py ├── NODELOVE ├── __init__.py ├── README.TXT ├── nasa_map.png └── ubuntu.sh ├── GETIFS2.exe ├── IPV6IFS.exe ├── tcpscan.exe ├── osdetection ├── osexception.py ├── __init__.py ├── language.py ├── telnet.py ├── local.py ├── ssh.py ├── sql.py └── mdns.py ├── sounds ├── hgn.ogg ├── welcome.ogg ├── __init__.py └── sound.cfg ├── extras ├── pop3d.py └── do_all_ips.py ├── upxtestvuln.exe ├── Reports └── header.gif ├── db ├── oui-stripped.gz ├── __init__.py └── oui.py ├── gui ├── pixmaps │ ├── canvas.gif │ ├── immunity.ico │ └── screen32.ico └── __init__.py ├── backdoors ├── mosdefservice.exe ├── mosdef_callbacks │ ├── mosdef_callback.exe │ ├── mosdef_callback_fbsd7 │ ├── mosdef_callback_fbsd_i386 │ ├── mosdef_callback_linux_i386 │ ├── mosdef_callback_aix51_powerpc │ ├── mosdef_callback_aix52_powerpc │ ├── mosdef_callback_linux_powerpc │ ├── mosdef_callback_macosx_intel │ ├── mosdef_callback_solaris_i386 │ ├── mosdef_callback_solaris_sparc │ ├── mosdef_callback_macosx_powerpc │ ├── utils.c │ └── utils.h ├── rootshell.c ├── php_callback.php ├── http_commander.py └── mosdef_escale_666.c ├── rootkits ├── windows │ ├── memdump.sys │ ├── mosdef.sys │ └── mosdef_usermode.exe └── linux │ ├── backdoor │ ├── immrtbkd │ ├── Makefile │ └── md5.h │ ├── immrt │ └── docs │ └── USAGE ├── Documentation ├── CANVAS_Basics.pdf ├── Debian_install.txt └── macosinstall.txt ├── ExploitTypes └── __init__.py ├── canvastimer.py ├── 3rdparty └── README.txt ├── internal ├── colors.py ├── uniqlist.py ├── logging.py ├── portability.py ├── path.py ├── PySystemAPI.py └── __init__.py ├── shellcode ├── clean │ ├── __init__.py │ └── windows │ │ └── __init__.py ├── __init__.py ├── ppcShellcodeGenerator.py └── sparcShellcodeGenerator.py ├── Nodes ├── __init__.py ├── NodeUtils.py └── JavaShellServer.py ├── canvas.css ├── engine ├── __init__.py └── fWrap.py ├── canvaserror.py ├── encoder └── __init__.py ├── alx_memprofiler.py ├── JavaNode.py ├── vsrun.bat ├── servcert.cer ├── runcanvas.py ├── VFSNode.py ├── canvashost.py ├── runcanvas.sh ├── MOSDEFShellServer ├── __init__.py └── MSSgeneric.py ├── canvas.bat ├── exploits ├── exitthread │ └── exitthread.py ├── exitprocess │ └── exitprocess.py ├── remark_in_log │ └── remark_in_log.py ├── drinkcoaster │ └── drinkcoaster.py ├── tftp_fuzzer │ └── tftp_fuzzer.py ├── dir │ └── dir.py ├── unlink │ └── unlink.py ├── LogonUser │ └── LogonUser.py └── get_dnscache │ └── get_dnscache.py ├── SQLNode.py ├── ScriptShellServer.py └── bin2root.sh /CANVAS_HTSRL/libs/notes.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/yahoo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/fuzzers/__init__.py: -------------------------------------------------------------------------------- 1 | all = ["spike"] 2 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/genshi/template/tests/templates/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/pymsrpc/tests/__init__.py: -------------------------------------------------------------------------------- 1 | __all__=["debug"] -------------------------------------------------------------------------------- /CANVAS_HTSRL/userdata: -------------------------------------------------------------------------------- 1 | 09/23/2009 2 | vale@hackingteam.it 3 | HTSRL 4 | 5 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/favmodules.txt: -------------------------------------------------------------------------------- 1 | ms08_067 2 | roundcube 3 | msparsing_xml 4 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/MOSDEF/test.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | int i; 4 | i=8; 5 | } 6 | 7 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/pymsrpc/__init__.py: -------------------------------------------------------------------------------- 1 | __all__=[ 2 | "parse", 3 | "ndr", 4 | ] 5 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/NODELOVE/__init__.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | __all__ = ['canvasgraph'] 4 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/Crypto/Cipher/Blowfish.py: -------------------------------------------------------------------------------- 1 | MODE_CBC=2 2 | class Blowfish(object): 3 | pass 4 | 5 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/GETIFS2.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/GETIFS2.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/IPV6IFS.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/IPV6IFS.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/Crypto/Cipher/DES3.py: -------------------------------------------------------------------------------- 1 | #placeholder 2 | MODE_CBC=2 3 | class DES3(object): 4 | pass 5 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/pyPdf/__init__.py: -------------------------------------------------------------------------------- 1 | from pdf import PdfFileReader, PdfFileWriter 2 | __all__ = ["pdf"] 3 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/tcpscan.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/tcpscan.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/osdetection/osexception.py: -------------------------------------------------------------------------------- 1 | # OS Exception handler 2 | 3 | class OSException(Exception): 4 | pass -------------------------------------------------------------------------------- /CANVAS_HTSRL/sounds/hgn.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/sounds/hgn.ogg -------------------------------------------------------------------------------- /CANVAS_HTSRL/extras/pop3d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/extras/pop3d.py -------------------------------------------------------------------------------- /CANVAS_HTSRL/upxtestvuln.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/upxtestvuln.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/NODELOVE/README.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/NODELOVE/README.TXT -------------------------------------------------------------------------------- /CANVAS_HTSRL/Reports/header.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Reports/header.gif -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/base.odb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/base.odb -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/blank.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/blank.pdf -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/test2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/test2.pdf -------------------------------------------------------------------------------- /CANVAS_HTSRL/db/oui-stripped.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/db/oui-stripped.gz -------------------------------------------------------------------------------- /CANVAS_HTSRL/sounds/welcome.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/sounds/welcome.ogg -------------------------------------------------------------------------------- /CANVAS_HTSRL/NODELOVE/nasa_map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/NODELOVE/nasa_map.png -------------------------------------------------------------------------------- /CANVAS_HTSRL/MOSDEF/MOSDEFlibc/asm/Solaris/__init__.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | __all__ = [ 4 | 'i386', 5 | ] 6 | 7 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/MOSDEF/binfmt/__init__.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | __all__ = [ 4 | 'elf', 5 | 'elf_const', 6 | ] 7 | 8 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/icmp_proxy.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/icmp_proxy.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/javanode.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/javanode.jar -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/ms07_066.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/ms07_066.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/ms08_025.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/ms08_025.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/ms08_049.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/ms08_049.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/gui/pixmaps/canvas.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/gui/pixmaps/canvas.gif -------------------------------------------------------------------------------- /CANVAS_HTSRL/gui/pixmaps/immunity.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/gui/pixmaps/immunity.ico -------------------------------------------------------------------------------- /CANVAS_HTSRL/gui/pixmaps/screen32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/gui/pixmaps/screen32.ico -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/MS06_24/immunity.wms: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/libs/MS06_24/immunity.wms -------------------------------------------------------------------------------- /CANVAS_HTSRL/MOSDEF/MOSDEFlibc/asm/Linux/__init__.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | __all__ = [ 4 | 'i386', 5 | 'ppc', 6 | ] 7 | 8 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/MOSDEF/MOSDEFlibc/asm/__init__.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | __all__ = [ 4 | 'Linux', 5 | 'Solaris', 6 | ] 7 | 8 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/backdoors/mosdefservice.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/backdoors/mosdefservice.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/MS06_24/actions.js.wmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/libs/MS06_24/actions.js.wmx -------------------------------------------------------------------------------- /CANVAS_HTSRL/rootkits/windows/memdump.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/rootkits/windows/memdump.sys -------------------------------------------------------------------------------- /CANVAS_HTSRL/rootkits/windows/mosdef.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/rootkits/windows/mosdef.sys -------------------------------------------------------------------------------- /CANVAS_HTSRL/Documentation/CANVAS_Basics.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Documentation/CANVAS_Basics.pdf -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/aixroot/mosdef_reexec_52.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/libs/aixroot/mosdef_reexec_52.a -------------------------------------------------------------------------------- /CANVAS_HTSRL/rootkits/linux/backdoor/immrtbkd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/rootkits/linux/backdoor/immrtbkd -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/Crypto/Cipher/RC4.py: -------------------------------------------------------------------------------- 1 | #we simply import from the pure-python implementation of RC4 2 | from libs.tlslite.utils.Python_RC4 import * 3 | 4 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/rootkits/windows/mosdef_usermode.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/rootkits/windows/mosdef_usermode.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/Documentation/Debian_install.txt: -------------------------------------------------------------------------------- 1 | 2 | - Debian, Gentoo, Ubuntu: 3 | 4 | $ sudo apt-get -qy install python2.4 python2.4-gtk2 python2.4-glade2 5 | 6 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/templates/template_cert.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/templates/template_cert.doc -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/templates/template_cert.ppt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/templates/template_cert.ppt -------------------------------------------------------------------------------- /CANVAS_HTSRL/Resources/templates/template_cert.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/Resources/templates/template_cert.xls -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/Crypto/Cipher/AES.py: -------------------------------------------------------------------------------- 1 | #we simply import from the pure-python implementation of AES 2 | MODE_CBC=2 3 | from libs.tlslite.utils.Python_AES import * 4 | 5 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/backdoors/mosdef_callbacks/mosdef_callback.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrismaddalena/Canvas/master/CANVAS_HTSRL/backdoors/mosdef_callbacks/mosdef_callback.exe -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/genshi/template/tests/templates/functions.html: -------------------------------------------------------------------------------- 1 |
$message
14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/shellcode/__init__.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | #Proprietary CANVAS source code - use only under the license agreement 4 | #specified in LICENSE.txt in your CANVAS distribution 5 | #Copyright Immunity, Inc, 2002-2006 6 | #http://www.immunityinc.com/CANVAS/ for more information 7 | 8 | __all__ = ['shellcodeGenerator', 'win32shell', 'linuxshell', 'solarisshell'] 9 | 10 | # the new school 11 | __all__ += ['clean'] 12 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/sounds/sound.cfg: -------------------------------------------------------------------------------- 1 | # Configuration file for CANVAS sound 2 | # 3 | ### Common configuration ### 4 | 5 | ### EVENTS #### 6 | # EVENT = file # 7 | # Specify the event and the filename (filename will be read from sounds/ 8 | 9 | # WELCOME MSG 10 | WELCOME=welcome.ogg 11 | 12 | # OWN is a special event, you can add as much OWN as you wish and will 13 | # be randomy played when an exploit success 14 | OWN=hgn.ogg 15 | 16 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/fuzzers/SPIKESCRIPTS/tftpd2.spk: -------------------------------------------------------------------------------- 1 | #Fuzzer for fuzzing tftp 2 | #fuzzers/spike.py -t 192.168.103.130 -s fuzzers/SPIKESCRIPTS/tftpd2.spk -P UDP -V 1:0 -p 69 3 | 4 | #0x02 is Write Request: could be a variable here to fuzz other opcodes 5 | spk.s_int(0x02, "BIGENDIANHALFWORD") 6 | spk.s_string_variable("Hello.txt") #filename 7 | spk.s_binary("00") 8 | spk.s_string_variable("octet") #mode (netascii/octet/etc) 9 | spk.s_binary("00") 10 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/fuzzers/SPIKESCRIPTS/tftpd1.spk: -------------------------------------------------------------------------------- 1 | #Fuzzer for fuzzing tftp 2 | #fuzzers/spike.py -t 192.168.24.128 -s fuzzers/SPIKESCRIPTS/tftpd1.spk -P UDP -V 0:0 -p 69 -S 0.1 3 | 4 | #0x01 is Read Request: could be a variable here to fuzz other opcodes 5 | spk.s_int(0x01, "BIGENDIANHALFWORD") 6 | spk.s_string_variable("Hello.txt") #filename 7 | spk.s_binary("00") 8 | spk.s_string_variable("octet") #mode (netascii/octet/etc) 9 | spk.s_binary("00") 10 | -------------------------------------------------------------------------------- /CANVAS_HTSRL/libs/topright.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |16 | 17 | 18 | That is a "request" (a POST to passport.com, in fact) which you can then resubmit. If you make multiple unique requests to a particular URL, they will each be stored . Requests that are exactly alike are discarded.
19 | If you want to resubmit this request, click on "rewrite request".
20 | If you just want to see information about this request, click "print request info". Simple, eh? 21 |
22 | Clicking Display Reponse will show you what the server responded with. Clicking "crawl" will currently display a "Not Implemented" error message. Clicking argscan or overflow will attempt to SQL inject or overflow any arguments SPIKE Proxy recognized. If it detects any interesting error messages, that request will be saved off and logged. 23 |
24 | One fun thing to do is browse your entire site, then go to the top level and click "argscan" which will then recurse through your entire site and look for ODBC errors. Fun, huh? 25 |
26 |
27 | If you have any other questions, e-mail the author at dave@immunitysec.com
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/CANVAS_HTSRL/exploits/unlink/unlink.py:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env python
2 |
3 | #Proprietary CANVAS source code - use only under the license agreement
4 | #specified in LICENSE.txt in your CANVAS distribution
5 | #Copyright Immunity, Inc, 2002-2004
6 | #http://www.immunityinc.com/CANVAS/ for more information
7 |
8 | import sys
9 | if "." not in sys.path:
10 | sys.path.append(".")
11 |
12 | import os,getopt
13 | import socket
14 | from exploitutils import *
15 |
16 | from canvasexploit import canvasexploit
17 | import canvasengine
18 | import time
19 |
20 | NAME = "CANVAS Unlink"
21 | DESCRIPTION = "CANVAS Unlink"
22 | DOCUMENTATION = {}
23 | VERSION = "1.0"
24 | PROPERTY = {}
25 | PROPERTY['TYPE'] = "Commands"
26 | PROPERTY['SITE'] = "Local"
27 |
28 | class theexploit(canvasexploit):
29 | def __init__(self):
30 | canvasexploit.__init__(self)
31 | self.result = ""
32 | self.name = NAME
33 | self.filename = "/doesnotexist"
34 | return
35 |
36 | def run(self):
37 | self.setInfo("%s (in progress)" % (NAME))
38 |
39 | self.filename = self.argsDict.get("filename", self.filename)
40 |
41 | for node in self.argsDict["passednodes"]:
42 |
43 | if node.nodetype == "UnixShellNode":
44 | self.result = node.runcommand("rm %" % self.filename)
45 |
46 | elif node.nodetype in ["win32Node", "linuxNode", "bsdNode"]:
47 | self.result = node.unlink(self.filename)
48 | self.log("Unlink result: %s" % self.result)
49 |
50 | elif node.nodetype == "localNode":
51 | self.result = os.unlink(self.filename)
52 |
53 | else:
54 | self.log("%s node type not supported" % node.nodetype)
55 |
56 | self.setInfo("%s - done (success: %s)" % (NAME, self.result))
57 | return 1
58 |
59 | if __name__ == '__main__':
60 | print "Cannot be called from the commandline"
61 |
--------------------------------------------------------------------------------
/CANVAS_HTSRL/osdetection/mdns.py:
--------------------------------------------------------------------------------
1 | from exploitutils import *
2 | import libs.canvasos as canvasos
3 |
4 | class mdnsdetect:
5 | def __init__(self):
6 | return
7 |
8 | def run_mdnsdetect(self):
9 | result = None
10 |
11 | sck = self.getudpsock()
12 | try:
13 | sck.connect((self.host, 5353))
14 | except:
15 | return None
16 |
17 | buf = intel_short(random.randint(0,65535)) #transaction ID
18 | buf += intel_short(1) #flags (standard)
19 | buf += halfword2bstr(1) #questions 1
20 | buf += halfword2bstr(0) #Answer RRs
21 | buf += halfword2bstr(0) #authority RRs
22 | buf += halfword2bstr(0) #additional RRs
23 |
24 | #Query, name:
25 | for a in ["_workstation","_tcp","local"]:
26 | buf += chr(len(a))+a
27 | buf += "\x00" #end string
28 | buf += halfword2bstr(0xc) #Type: PTR
29 | buf += halfword2bstr(1) #class ANY
30 |
31 | sck.send(buf)
32 |
33 | try:
34 | data = sck.recv(1000)
35 | except:
36 | data=""
37 | self.log("MDNS DETECT: Got no Rendezvous data, socket closed or did not respond within 5 seconds")
38 | if data:
39 | self.log("MDNS DETECT: Got Rendezvous data: %s"%prettyprint(data))
40 | for osd in [ "ubuntu", "fedora", "debian", "linux"]:
41 | if osd in data.lower():
42 | self.log("MDNS DETECT: Found linux via mdns")
43 | result = canvasos.new("Linux")
44 | if osd != "linux":
45 | #not a generic signature
46 | result.family = osd
47 | return result
48 |
49 | self.log("MDNS DETECT: Found data (%r), but not sure what kind of box"%data)
50 | return None
51 |
52 | return result
--------------------------------------------------------------------------------
/CANVAS_HTSRL/MOSDEF/MOSDEFlibc/POSIX.py:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env python
2 |
3 | #Proprietary CANVAS source code - use only under the license agreement
4 | #specified in LICENSE.txt in your CANVAS distribution
5 | #Copyright Immunity, Inc, 2002-2006
6 | #http://www.immunityinc.com/CANVAS/ for more information
7 |
8 | class POSIX:
9 |
10 | #