Adds basic OS fingerprinting

This commit is contained in:
2017-01-14 18:03:21 -05:00
committed by GitHub
parent dc325802fd
commit ed9be6cd66
3 changed files with 55 additions and 36 deletions

View File

@@ -17,6 +17,13 @@ if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
# Parse USB requests in dmesg
/bin/bash /home/pi/umap/usbreq.sh | tee /home/pi/os.txt
# Stop the dummy gadget and start the real one
modprobe -r g_ether
modprobe libcomposite
# libcomposite configuration
/bin/sh /home/pi/poisontap/pi_startup.sh | tee /home/pi/poisontap/pi_startup.log