I'm using metasploit to perform a ssh login scan on a range of ips from 192.168.24.00 and up and I don't know how to write it. For example, I'm trying to scan 192.168.24.01, 192.168.24.02, 192.168.24.03, all the way up to 192.168.24.99. This isn't the actual ip btw, just a made up one. Can someone help please?
Forum Thread: IP Subnet
- Hot
- Active
-
Forum Thread: Changing IP Address 9 Replies
4 days ago -
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
1 wk ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
2 wks ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
1 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
1 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
3 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
3 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
4 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
5 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
5 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
6 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
7 mo ago
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Dox Anyone
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Make Your Own Bad USB
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
Tutorial: DNS Spoofing
-
How To: Intercept Images from a Security Camera Using Wireshark
-
Hacking macOS: How to Hack a Mac Password Without Changing It
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Perform Advanced Man-in-the-Middle Attacks with Xerosploit
-
How To: Use Leaked Password Databases to Create Brute-Force Wordlists
-
How To: The Top 80+ Websites Available in the Tor Network
-
How To: Build a Beginner Hacking Kit with the Raspberry Pi 3 Model B+
-
How To: Install Kali Linux as a Portable Live USB for Pen-Testing & Hacking on Any Computer
-
How To: Hack a Windows 7/8/10 Admin Account Password with Windows Magnifier
-
How To: Hack Like It's 1987 (An Introduction to the Telehack Retro Game)
2 Responses
By what i remember from nmap, it should be 192.168.24.1/24 . Correct me if i'm wrong, or tells if it works.
Jesus
Hi
You have to know the netmask of the network you want so scan.
I recommend you to fresh up your knowledge of IP and Subnetting.
So you have your IP Address:
Address: 192.168.24.1
In binary that is:
11000000.10101000.00000000.00000001
The netmask defines the host and network part of your address.
As you can see with this netmask the first 24 bits are used --> network part. The remaining bits are free for your host adresses, in this case 254.
Netmask: 255.255.255.0 = /24
11111111.11111111.11111111.00000000
To answer your question:
Find out what netmask is used and write it either way full like this 255.255.255.0 or the shot form like that /24.
Examples:
255.255.255.128 = 25
11111111.11111111.11111111.10000000
--> 126 free hosts
255.255.255.252 = 30
11111111.11111111.11111111.11111100
--> 3 free hosts
http://jodies.de/ipcalc
Hope you try to learn a little bit more abuot the topic instead of just typing in everything and hoping it workes.
Share Your Thoughts