Scripting
Bash
Bash Scripting Basics
#!/bin/bashname=Bob
echo $name
user=$(whoami)
echo $user
echo 'Hello' $name. 'You are running as' $user.#!/bin/bash
clear
echo "Hello World"
name=Bob
ip=`ifconfig | grep "Bcast:" | cut -d":" -f2 | cut -d" " -f1`
echo "Hello" $name "Your IP address is:" $ipCheck for root privileges
Old way to check for root privileges
MISC
Python
Python Functions
Dealing with Sockets
MISC
PHP
PHP Functions
PHP Server
PHP Jail Escape
Last updated