Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -d "username=admin"
- -d "password=password"
- -d "site=NW3"
- -XPOST "http://localhost/sites/site.cgi"
- curl -s -d "username=admin"
- -d "password=password"
- -d "site=NW3"
- -XPOST "http://localhost/sites/site.cgi" > /dev/null
- if [ "$1" == "debug" ]; then
- curl=''
- res=''
- else
- curl='-s'
- res=' > /dev/null'
- fi
- curl $curl -d "username=admin"
- -d "password=password"
- -d "site=NW3"
- -XPOST "http://localhost/sites/site.cgi" $res
Add Comment
Please, Sign In to add comment