Table of Contents
* Generic Syntax
* Main Options
* Encoding :
#!/usr/bin/python2.7 | |
# | |
# Dahua backdoor Generation 2 and 3 | |
# Author: bashis <mcw noemail eu> March 2017 | |
# | |
# Credentials: No credentials needed (Anonymous) | |
#Jacked from git history | |
# | |
import string |
#!/usr/bin/env bash | |
# Update PHP Repo | |
sudo rm /etc/apt/sources.list.d/ondrej-php5-5_6-trusty.list | |
sudo add-apt-repository -y ppa:ondrej/php | |
sudo apt-get -y update | |
# Remove PHP 5.6 | |
sudo apt-get --remove purge -y php5 php5-cli php5-curl php5-gd php5-intl php5-mcrypt php5-memcached php5-mysqlnd php5-readline php5-sqlite php5-cgi php5-common php5-fpm php5-imagick php5-json php5-memcache php5-mongo php5-pgsql php5-redis php-pear | |
sudo apt-get -y autoremove |
# You want to VNC to Box A but you don't have access to it | |
# over public Internet. You do have SSH access to Box B in | |
# the same private network. | |
# firewall | |
# ┌─────┐ ╏╏ ┌─────┐ | |
# │ You │──SSH──╏╏────│ B │ bastion | |
# └─────┘ ╏╏ └──┬──┘ | |
# ╏╏ SSH | |
# ╏╏ ┌──┴──┐ |