Advertisement
metalx1000

Log IP remotely - Example

Dec 16th, 2011
752
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. ip=`curl http://automation.whatismyip.com/n09230945.asp`
  5.  
  6. curl -d "entry.0.single=$USER&entry.1.single=$ip&submit=Submit" \
  7.         --location --output /tmp/ip.html "http://spreadsheets.google.com formResponse?formkey=dG9YZnlmR2xtX25BOENUS1VZUVVxT3c6MQ.."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement