Ooops
November 28, 2020, 02:30:11 AM

Author Topic: [bb] IP scanner by schilcote [ 1+ years ago ]  (Read 651 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
[bb] IP scanner by schilcote [ 1+ years ago ]
« on: June 29, 2017, 12:28:43 AM »
Title : IP scanner
Author : schilcote
Posted : 1+ years ago

Description : This program was written by me when I was messing around with Nmap. It tries to connect to whatever.you.enter.0-255 and sees if it can. If it gets a connection, it writes it to the screen.
It's incredibly slow.


Code :
Code: BlitzBasic
  1. firstthree$=Input$("What is the IP? (-the last section): ")
  2. port=Input("What port to scan on?: ")
  3.  
  4. For t=0 To 255
  5.  
  6. ip$=firstthree$+t
  7.  
  8. stream=OpenTCPStream(ip$,port)
  9.  
  10. If stream Then
  11. DebugLog "Found a computer: "+ip$
  12. Print ip$
  13. Else
  14. DebugLog "Nothing found on "+ip$
  15. EndIf
  16.  
  17. Next
  18.  
  19. WaitKey
  20. End


Comments :


schilcote(Posted 1+ years ago)

 Oh yeah,DISCLAMER:I, Schilcote am NOT RESPONSIBLE for whatever anybody does with this code. If you break into somebody's computer using this code, and you get caught, it's your own problem. I cannot be held responcible for your actions!


 

SimplePortal 2.3.6 © 2008-2014, SimplePortal