Skip to main content

Posts

Showing posts from 2017

NMAP - What is NMAP and what is it used for?

What is NMAP & use of it?Basically NMAP is a free security scanner and a network mapper mainly used by system administrators, hackers , pentesters and etc. These are few use cases of NMAP and there are tons of ways to use NMAP.Finding hosts in the networkports used by hosts and its statusFinding vulnerabilitiesInformation on versions and OS used
Basic NMAP Scan nmap -sP 192.168.1.0/24 Ping multiple host to check if the hosts are alive or not

TCP scan (full open scan) nmap -sT 192.168.1.9 This is a TCP connect scan. TCP connections are done with a 3 way handshake SYNSYN-ACKACKThis is otherwise called as full open scan


Stealth Mode Scan (Half open scan) namp -sS 192.168.1.9 This is known as SYN scan / Half open scan / Stealth scan SYNSYN-ACKRST



OS detection scan namp -O 192.168.1.6
With this command you can get which OS the system is running. Example: Windows, Linux, Android etc.
NMAP with OS detection, traceroute, host discovery and more nmap -A 192.168.1.6
This is aggressive scan …

Arduino and RS485 communication done from scratch....

This experiment was bit delayed due to lack of libraries for RS485 for Arduino. After lots of frustrations, i manage to make it work with soft-serial. Master controller send the command in bytes with [slaveid,status,level] and when a specific id slave response to it and lit and LED. Level byte is an analog value sent by master to dim the LED.
RS485 is a long distance communication protocol which is used is several industrial applications so it can be used to monitor and control devices in a twisted pair network.