Advertisement
metalx1000

basic busybox http variable example

Jan 23rd, 2016
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo -e "Content-type: text/html; charset=UTF-8\n"
  4. eval $(echo "$QUERY_STRING" | awk -F'&' '{ for(i=1;i<=NF;i++) { print $i} }')
  5.  
  6. echo "a is $a"
  7. echo "<br>"
  8. echo "b is $b"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement