Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Quellcode |
|
1 2 3 4 5 |
( echo "POST http://<servername>/<pfad>/phpscriptname> HTTP/1.0" echo echo "<php-varname>=<daten.....>" ) > /dev/TCP/<servername>/80 |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »linuxerr« (09.11.2008, 20:45)
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Zitat
Original von holly123
an HTTP-POST habe ich auch schon gedacht,
leider gehts beim meinem linux nicht so einfach /dev/TCP gibts nicht...
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[...] REDIRECTION [...] Bash handles several filenames specially when they are used in redirec- tions, as described in the following table: [...] /dev/tcp/host/port If host is a valid hostname or Internet address, and port is an integer port number or service name, bash attempts to open a TCP connection to the corresponding socket. [...] A failure to open or create a file causes the redirection to fail. [...] |
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Zitat
Original von oziris
Alter Walter... Du musst ja auch "/dev/tcp/{adresse}/{port}" eingeben.