Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:bash [07/09/2018 13:30]
andrew [for loop]
rb:bash [18/02/2020 11:29] (current)
andrew [Getting web page with wget]
Line 192: Line 192:
  
  
 +This website uses forms based auth, you'd need to login with POST data, save the session id cookie and use it to pull the restricted content.
  
 +<​code>​
 +curl -c /​root/​cookie -d "​uri=&​username=User&​password=Password&​login="​ http://​site.co.uk/​login
 +curl -b /​root/​cookie -s http://​site.co.uk/​ports/​34441/​month/​2016-09-05/​plot > /​root/​plot-2016-09-05.jpg
 +</​code>​
  
 ===== Spinner.sh ===== ===== Spinner.sh =====

rb/bash.txt ยท Last modified: 18/02/2020 11:29 by andrew