Delete status from output
This commit is contained in:
parent
d94d7e71a1
commit
07fbb388da
2
laconia
2
laconia
|
@ -17,7 +17,7 @@ request(){
|
||||||
status=$(echo $page | awk 'NR == 1 {print $1}')
|
status=$(echo $page | awk 'NR == 1 {print $1}')
|
||||||
meta=$(echo $page | awk 'NR == 1 {print $2}')
|
meta=$(echo $page | awk 'NR == 1 {print $2}')
|
||||||
if [[ $status == 2 ]]; then
|
if [[ $status == 2 ]]; then
|
||||||
printf "$host /$path $( $post | wc -c )\r\n$post" | nc $host $port
|
printf "$host /$path $( $post | wc -c )\r\n$post" | nc $host $port | awk 'NR > 1 {print}'
|
||||||
elif [[ $status == 3 ]]; then
|
elif [[ $status == 3 ]]; then
|
||||||
path=$meta
|
path=$meta
|
||||||
printf "$host $path 0\r\n" | nc $host 300
|
printf "$host $path 0\r\n" | nc $host 300
|
||||||
|
|
Loading…
Reference in New Issue