Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/bash | |
while [ 0 ]; do | |
wget -q https://gist.githubusercontent.com/vagnerd/XXX/raw/YYY/ips -O /tmp/ips | |
cat /tmp/ips | awk '{ print "route add " $1 " gw X.X.X.X"}' > /tmp/ips.sh | |
sh /tmp/ips.sh | |
sleep 3600 | |
done | |
### rc-local |
apt-get remove docker docker-engine docker.io containerd runc | |
apt-get update && apt-get -y install ca-certificates curl gnupg lsb-release | |
mkdir -m 0755 -p /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
chmod a+r /etc/apt/keyrings/docker.gpg |
--- | |
apiVersion: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: <CLUSTER-NAME> | |
region: <AWS-REGION> | |
vpc: | |
id: "<VPC-ID>" | |
cidr: "<CIDR-BLOCK>" | |
subnets: |
#!/bin/bash | |
## | |
## Run multiple http servers (simple) on tmux | |
## | |
## http://oi66.tinypic.com/15x6dte.jpg - script run on multiple sessions | |
## http://oi63.tinypic.com/28sm0t4.jpg - testing all http servers | |
## https://stackoverflow.com/questions/16325449/how-to-send-a-command-to-all-panes-in-tmux - send command to all panes | |
TMP_HTTPD_DIR="/tmp/httpd_sh_dirs" |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
http://vulnweb.com/ | |
http://testhtml5.vulnweb.com - nginx, Python, Flask, CouchDB | |
http://testphp.vulnweb.com - Apache, PHP, MySQL | |
http://testasp.vulnweb.com - IIS, ASP, Microsoft SQL Server | |
http://testaspnet.vulnweb.com - IIS, ASP.NET, Microsoft SQL Server |