├── testlotto.sh ├── test5000 ├── regularphoto_nothingtoseehere.jpg ├── halloweenproject ├── pinout_raspberrypi_relay.png ├── style.css ├── READ_THIS_FIRST ├── index.html └── halloween.py ├── configlinuxlab.sh ├── bestscript.sh ├── devnet.yml ├── pihole.sh ├── gns3server_azure.txt └── youjustgothacked.txt /testlotto.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "Hey" 4 | -------------------------------------------------------------------------------- /test5000: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "This is NetworkChuck" 4 | -------------------------------------------------------------------------------- /regularphoto_nothingtoseehere.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theNetworkChuck/NetworkChuck/HEAD/regularphoto_nothingtoseehere.jpg -------------------------------------------------------------------------------- /halloweenproject/pinout_raspberrypi_relay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theNetworkChuck/NetworkChuck/HEAD/halloweenproject/pinout_raspberrypi_relay.png -------------------------------------------------------------------------------- /configlinuxlab.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yum -y update 4 | 5 | yum install -y epel-release 6 | yum install -y xrdp 7 | systemctl enable xrdp 8 | systemctl start xrdp 9 | 10 | yum groupinstall -y "xfce" 11 | echo "xfce4-session" > ~/.Xclients 12 | chmod a+x ~/.Xclients 13 | -------------------------------------------------------------------------------- /bestscript.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | dohost 'conf t ; interface gi2 ; no shut' 4 | dohost 'conf t ; interface gi3 ; no shut' 5 | dohost 'conf t ; interface gi4 ; no shut' 6 | echo "you're up!!!" 7 | sleep 10 8 | dohost 'conf t ; interface gi2 ; shut' 9 | dohost 'conf t ; interface gi3 ; shut' 10 | dohost 'conf t ; interface gi4 ; shut' 11 | echo "no wait...you're down" 12 | -------------------------------------------------------------------------------- /devnet.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | - name: General Config 4 | 5 | hosts: routers 6 | 7 | tasks: 8 | 9 | - name: Add Banner 10 | 11 | ios_banner: 12 | banner: login 13 | text: | 14 | Nicolas Cage is the 15 | Tiger King 16 | state: present 17 | 18 | - name: Add loopback 19 | 20 | ios_interface: 21 | name: Loopback21 22 | state: present 23 | -------------------------------------------------------------------------------- /halloweenproject/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: black; 3 | color: white; 4 | } 5 | .button { 6 | font: bold 25px "Trebuchet MS"; 7 | text-decoration: none; 8 | background-color: #EEEEEE; 9 | color: #333333; 10 | padding: 2px 6px 2px 6px; 11 | border-top: 1px solid #CCCCCC; 12 | border-right: 1px solid #333333; 13 | border-bottom: 1px solid #333333; 14 | border-left: 1px solid #CCCCCC; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /halloweenproject/READ_THIS_FIRST: -------------------------------------------------------------------------------- 1 | #Just a quick note. 2 | 3 | #If you want to run this program ALL THE TIME (which I'm assuming you do), even when you're not sitting at the CLI, DO THIS: 4 | 5 | #Install tmux. This is a session multiplexer...basically you can have multiple SSH sessions in one window. 6 | 7 | #COMMAND: 8 | 9 | sudo apt install tmux 10 | 11 | #This will open a new terminal which will allow you to run the script. 12 | 13 | sudo python halloween/halloween.py 14 | 15 | #Close your SSH client and you're done!! 16 | -------------------------------------------------------------------------------- /pihole.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # https://github.com/pi-hole/docker-pi-hole/blob/master/README.md 4 | 5 | docker run -d \ 6 | --name pihole \ 7 | -p 53:53/tcp -p 53:53/udp \ 8 | -p 80:80 \ 9 | -p 443:443 \ 10 | -p 8080:8080 \ 11 | -e TZ="America/Chicago" \ 12 | -v "$(pwd)/etc-pihole/:/etc/pihole/" \ 13 | -v "$(pwd)/etc-dnsmasq.d/:/etc/dnsmasq.d/" \ 14 | --dns=127.0.0.1 --dns=1.1.1.1 \ 15 | --restart=unless-stopped \ 16 | thenetworkchuck/networkchuck_pihole 17 | 18 | printf 'Starting up pihole container ' 19 | for i in $(seq 1 20); do 20 | if [ "$(docker inspect -f "{{.State.Health.Status}}" pihole)" == "healthy" ] ; then 21 | printf ' OK' 22 | echo -e "\n$(docker logs pihole 2> /dev/null | grep 'password:') for your pi-hole: https://${IP}/admin/" 23 | exit 0 24 | else 25 | sleep 3 26 | printf '.' 27 | fi 28 | 29 | if [ $i -eq 20 ] ; then 30 | echo -e "\nTimed out waiting for Pi-hole start, consult check your container logs for more info (\`docker logs pihole\`)" 31 | exit 1 32 | fi 33 | done; 34 | © 2020 GitHub, Inc. 35 | -------------------------------------------------------------------------------- /halloweenproject/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |