I found this call in an app I started managing some time ago:
/usr/bin/sftp -b – -o Port=22 abc12@90.00.00.44
Whats suspicious is -b – -o … isnt it? I think the param is missing here…
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t believe there’s anything suspicious about it.
The
-b -is simply reading the script from standard input which we can’t tell from your sample where it’s coming from. It may be redirected or it may just interact with the user. The-file name is quite prevalent at meaning standard input. Trycat -under Linux for example.The
sftpmanpage states this clearly:The
-o Port=22is simply setting the SSH option to use port 22 (which is usually the default anyway).