Page 21 of 28

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:03 pm
by DEUS
did you selected everything? output should be online on TV and Ubuntu, does not matter it is just echo the line and remove additional text

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:17 pm
by tao13
yes
i select all char from your line
but not echo on output
nothing happend

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:22 pm
by DEUS
what happen when you run this on your shell on Ubuntu (not TV)? output of (from TV)
sed
busybox awk

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:26 pm
by tao13
from ubuntu
sed
busybox awkVDLinux-BusyBox v1.14.3-VD Linux VDLinux.1.2.1.x (2011-01-18 11:04:20 KST) multi-call binary

Usage: sed [-efinr] pattern [files...]

Options:
-e script Add the script to the commands to be executed
-f scriptfile Add scriptfile contents to the
commands to be executed
-i Edit files in-place
-n Suppress automatic printing of pattern space
-r Use extended regular expression syntax

If no -e or -f is given, the first non-option argument is taken as the sed
script to interpret. All remaining arguments are names of input files; if no
input files are specified, then the standard input is read. Source files
will not be modified unless -i option is given.

from web shell
nothing return

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:28 pm
by DEUS
this on your ubuntu shell (expect output: online)
echo "http://ue46D6500/cgi-bin/Modules.cgi?var_a=online" | sed 's_%3A_:_g' | sed 's_%2F_\/_g' | busybox awk -F "(=|&)" ' {print $2} '

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:32 pm
by tao13
do you want to tell like this
echo "http://192.168.1.11/cgi-bin/Modules.cgi?var_a=" | sed 's_%3A_:_g' | sed 's_%2F_\/_g' | busybox awk -F "(=|&)" ' {print $2} '
and run on shell on ubuntu?
if it yes , nothing happend

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:36 pm
by DEUS
please use http://192.168.1.11/phpsysinfo/shell.php
username: user
password: pass
and enter

Code: Select all

echo "http://ue46D6500/cgi-bin/Modules.cgi?var_a=online" | sed 's_%3A_:_g' | sed 's_%2F_\/_g' | busybox awk -F "(=|&)" ' {print $2} '

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:38 pm
by tao13
when i use http://192.168.1.11/phpsysinfo/shell.php
my explorer return
The webpage cannot be found

Re: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:47 pm
by tao13
maybe i have something wrong in samygo???
Untitled.jpg

AW: New web inferface (Webif) for SamyGO

Posted: Fri Jun 01, 2012 9:57 pm
by DEUS
Please use NC (netcat) shell