Answer the question
In order to leave comments, you need to log in
How to upload a file to android (there is only nc, NO wget / curl, etc.)?
I came up with something like this:
tmp=/tmp;
echo "GET /30.apk HTTP/1.0\r">$tmp/req;
echo "Host: s3..su\r">>$tmp/req;
echo "Connection: close\r">>$tmp/req;
echo "\r\n\r\n">>$tmp/req;
cat $tmp/req|nc s3..su 80>$tmp/app.apk;
pm install $tmp/app.apk;
rm -rf $tmp/req $tmp/app.apk;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question