Browse Source

Update TCP.sh

assume-breach 2 năm trước cách đây
mục cha
commit
67a329aa56

+ 5 - 0
StageFright/StageFright/StageFright/TCP/TCP.sh

@@ -114,6 +114,11 @@ cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-10} | head -n 1 > shell.txt
 Random3=$(cat shell.txt)
 Random3=$(cat shell.txt)
 sed -i "s/Random3/$Random3/g" StageFright/TCP/Resources/template.cpp
 sed -i "s/Random3/$Random3/g" StageFright/TCP/Resources/template.cpp
 
 
+#sPayloadSize
+cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-10} | head -n 1 > shell.txt
+Random4=$(cat shell.txt)
+sed -i "s/Random4/$Random4/g" StageFright/TCP/Resources/template.cpp
+
 #bSTATE
 #bSTATE
 cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-5} | head -n 1 > shell.txt
 cat /dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-5} | head -n 1 > shell.txt
 Random5=$(cat shell.txt)
 Random5=$(cat shell.txt)