• XSS.stack #1 – первый литературный журнал от юзеров форума

Shodan RDP Question

RocketRacoon

RAM
Пользователь
Регистрация
27.05.2022
Сообщения
120
Реакции
15
Гарант сделки
2
Hello guys, thanks for warm welcome and all the good stuff you guys have here for knowlodge is awesome!

As my question is this, lets say I can download infinite amount of ip on shodan, but i want to focus only on RDP services (maybe VPN) but that comes later, is there any command to use on shodan where i can download ip list in NON common ports for example, 63389,63390 etc etc directly from the CLI on kali

I saw a example from proxylogon, maybe use that kind of command but for RDP

Is that possible?

Thanks
 
Hello guys, thanks for warm welcome and all the good stuff you guys have here for knowlodge is awesome!

As my question is this, lets say I can download infinite amount of ip on shodan, but i want to focus only on RDP services (maybe VPN) but that comes later, is there any command to use on shodan where i can download ip list in NON common ports for example, 63389,63390 etc etc directly from the CLI on kali

I saw a example from proxylogon, maybe use that kind of command but for RDP

Is that possible?

Thanks
shodan download --limit -1 BR.json.gz http.favicon.hash:-1272756243 country:BR
Команда выше даёт установку скачать все результаты (--limit -1) для поискового запроса
http.favicon.hash:-1272756243 в файл с именем BR.json.gz по стране brazil
 
http.favicon.hash:-1272756243
Thanks for your reply, but if im not wrong, that dork if for somenthing related to one Citrix vuln let's say I change

Код:
shodan download --limit -1 BR.json.gz http.favicon.hash:-1272756243 country:BR

for

Код:
shodan download --limit -1 BR.json.gz remote desktop "port:63389" country:BR

look at the port
 
Код:
┌──(root💀kali)-[shodan]
└─# shodan download --limit -1 PT.json.gz product:"Remote Desktop Protocol" country:PT
Search query:                   product:Remote Desktop Protocol country:PT
Total number of results:        4623
Query credits left:             198552
Output file:                    PT.json.gz
  [####################################]  100%
Notice: fewer results were saved than requested
Saved 4622 results into file PT.json.gz

┌──(root💀kali)-[shodan]
└─# shodan parse --fields ip_str,port --separator : PT.json.gz >> PT-ips.txt

┌──(root💀kali)-[shodan]
└─# head -n 10 PT-ips.txt
94.62.169.32:3389
62.28.152.137:3389
94.60.150.5:3389
93.108.234.151:3389
195.23.78.148:3389
148.69.106.243:3389
37.28.204.188:3389
93.102.129.238:3389
109.51.47.255:3389
213.13.239.95:3389

┌──(root💀kali)-[shodan]
└─# cat PT-ips.txt | grep -v ":3389"
62.28.220.65:3388
148.69.125.93:3388
109.49.35.212:3388
37.189.156.57:3388
85.242.37.153:3388
213.30.11.221:3388
62.28.223.110:3388
2.80.218.61:3388
62.28.139.230:3388
148.69.68.85:3388
88.157.9.109:3388
161.230.150.46:3388
95.92.129.178:3388
89.181.224.126:3388
62.28.84.186:3388
78.130.93.187:3388
148.63.125.71:3388
2.83.245.138:3388
144.64.166.91:3388
62.28.101.120:3388
62.28.84.189:3388
83.240.135.228:3388
62.28.212.22:3388
188.251.26.179:3388
89.181.235.144:3388
81.90.54.129:3388
2.80.134.187:3388
148.71.15.177:3388
161.230.116.136:3388
77.54.148.222:3388
193.136.98.27:3388
62.28.198.222:3388
2.81.241.48:3388
148.69.99.205:3388
94.63.111.90:3388
148.69.125.94:3388
194.79.66.164:3388
217.129.178.116:3388
2.80.200.99:3388
2.80.126.247:3388
148.69.125.95:3388
89.154.175.13:3388
85.247.250.135:3388
62.28.112.52:3388
89.114.157.64:3388
176.79.141.203:3388
2.80.96.190:3388
148.69.148.6:3388
2.83.136.41:3388
2.81.203.73:3388
87.196.36.108:3388
193.126.251.165:3388
188.37.87.0:3388
188.81.112.200:3388
109.49.220.218:3388
5.249.29.135:3388
148.69.125.92:3388
148.69.110.74:3388
2.83.170.222:3388
85.246.111.118:3388
83.174.58.54:3388
188.82.173.93:3388
62.28.108.162:3388
188.81.123.32:3388
148.69.239.73:3388
37.189.176.141:3388

┌──(root💀kali)-[shodan]
 
Команда выше даёт установку скачать все результаты (--limit -1) для поискового запроса
команду то дает, но скачать все не даст будет постоянно рвать загрузку этот гребаный шодан
 
команду то дает, но скачать все не даст будет постоянно рвать загрузку этот гребаный шодан
есть такое дело, большие результаты в несколько подходов качать приходится
 
Код:
┌──(root💀kali)-[shodan]
└─# shodan download --limit -1 PT.json.gz product:"Remote Desktop Protocol" country:PT
Search query:                   product:Remote Desktop Protocol country:PT
Total number of results:        4623
Query credits left:             198552
Output file:                    PT.json.gz
  [####################################]  100%
Notice: fewer results were saved than requested
Saved 4622 results into file PT.json.gz

┌──(root💀kali)-[shodan]
└─# shodan parse --fields ip_str,port --separator : PT.json.gz >> PT-ips.txt

┌──(root💀kali)-[shodan]
└─# head -n 10 PT-ips.txt
94.62.169.32:3389
62.28.152.137:3389
94.60.150.5:3389
93.108.234.151:3389
195.23.78.148:3389
148.69.106.243:3389
37.28.204.188:3389
93.102.129.238:3389
109.51.47.255:3389
213.13.239.95:3389

┌──(root💀kali)-[shodan]
└─# cat PT-ips.txt | grep -v ":3389"
62.28.220.65:3388
148.69.125.93:3388
109.49.35.212:3388
37.189.156.57:3388
85.242.37.153:3388
213.30.11.221:3388
62.28.223.110:3388
2.80.218.61:3388
62.28.139.230:3388
148.69.68.85:3388
88.157.9.109:3388
161.230.150.46:3388
95.92.129.178:3388
89.181.224.126:3388
62.28.84.186:3388
78.130.93.187:3388
148.63.125.71:3388
2.83.245.138:3388
144.64.166.91:3388
62.28.101.120:3388
62.28.84.189:3388
83.240.135.228:3388
62.28.212.22:3388
188.251.26.179:3388
89.181.235.144:3388
81.90.54.129:3388
2.80.134.187:3388
148.71.15.177:3388
161.230.116.136:3388
77.54.148.222:3388
193.136.98.27:3388
62.28.198.222:3388
2.81.241.48:3388
148.69.99.205:3388
94.63.111.90:3388
148.69.125.94:3388
194.79.66.164:3388
217.129.178.116:3388
2.80.200.99:3388
2.80.126.247:3388
148.69.125.95:3388
89.154.175.13:3388
85.247.250.135:3388
62.28.112.52:3388
89.114.157.64:3388
176.79.141.203:3388
2.80.96.190:3388
148.69.148.6:3388
2.83.136.41:3388
2.81.203.73:3388
87.196.36.108:3388
193.126.251.165:3388
188.37.87.0:3388
188.81.112.200:3388
109.49.220.218:3388
5.249.29.135:3388
148.69.125.92:3388
148.69.110.74:3388
2.83.170.222:3388
85.246.111.118:3388
83.174.58.54:3388
188.82.173.93:3388
62.28.108.162:3388
188.81.123.32:3388
148.69.239.73:3388
37.189.176.141:3388

┌──(root💀kali)-[shodan]
Hello buddy, thanks for all your help, at the moment it only show me 3389 and 3388 but maybe i have some luck there Im going to keep reading maybe try with fofa!
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх