[gopher] help with G n00b re type 7 string harvesting
Kim Holviala
kim at holviala.com
Fri Sep 10 10:15:40 UTC 2010
On 2010-09-10 11:24, daniel g wrote:
> G'day could someone please help me? im frustrated -
> I have a type 7 query on my main page. - I am trying to harvest what the
> user types in a bash script like this
>
> #! /path/bash
>
> echo !@ /usr//test.txt
>
> exit
>
> and I cant seem to pick up the input from the type 7 query.
Don't know what pygopherd does, but most gopher servers that I've tried
emulate regular CGI protocol.
Try this script:
#!/bin/sh
set
And look for your type 7 query on the output. Most likely it's
$QUERY_STRING.
- Kim
More information about the Gopher-Project
mailing list