diff --git a/12345.sh b/12345.sh index f349ee1b..3934b2d8 100755 --- a/12345.sh +++ b/12345.sh @@ -39,6 +39,7 @@ while true; do # REPLACE myIP in http response template sed "s~127.0.0.1:12345~$myIP:$PORT~g" $HOME/.zen/Astroport.ONE/templates/index.http > ~/.zen/tmp/myIP.http.${MOATS} + sed -i "s~127.0.0.1~$myIP~g" ~/.zen/tmp/myIP.http.${MOATS} ## LAUNCHING URL=$(cat $HOME/.zen/tmp/myIP.http.${MOATS} | nc -l -p 1234 -q 1 | grep '^GET' | cut -d ' ' -f2 | cut -d '?' -f2) diff --git a/templates/index.http b/templates/index.http index ae0a1c67..a6ce89ee 100644 --- a/templates/index.http +++ b/templates/index.http @@ -6,12 +6,16 @@ Content-Type: text/html; charset=UTF-8 +

ASTROPORT

-

Astronaute nous créons votre TW ....

-
- -
+

Astronaute Contact

+