NMAP(1) Nmap Reference Guide NMAP(1)
NAME
nmap - Network exploration tool and security / port scanner
SYNOPSIS
nmap [Scan Type...] [Options] {target specification}
--[ MITM WiFi Honeypot ]
we will create a fake wifi hotspot so that clients may connect to
it and we can see what they are up to. And log everything they browse to on the hotspot.
You will act as a wifi hotspot, providing internet. You are able to monitor those who connect to it and forward them to the real server, acting as a man-in-the-middle. You can intercept about every data or append it to your needs to forward that to the real server.
[CLIENT] <-------------> [ YOU ] <------------> [INTERNET]
You will act as a wifi hotspot, providing internet. You are able to monitor those who connect to it and forward them to the real server, acting as a man-in-the-middle. You can intercept about every data or append it to your needs to forward that to the real server.
[CLIENT] <-------------> [ YOU ] <------------> [INTERNET]
--[ ssh access ]
There are several open source and enterprise software program through
which we can access remote system. These software becomes a necessity
when you setup a remote server and do not allow direct access to the
server, as because of some security measures. PuTTy is one of the major
terminal emulator through which we can access a remote server. PuTTy is a
free and open-source terminal emulator, serial console and network file
transfer application. It supports several network protocols, including
SCP, SSH, Telnet and rlogin. Here, I am going to show you how to access
Kali Linux through PuTTy. My base computer is running Windows 7 and Kali
Linux is installed in a VMWare Player. So we can assume that Kali Linux
is installed in a remote machine, as Windows 7 and of Kali Linux is on
different network now.
Before we access Kali Linux through remote system, we need to make sure that ssh service is already running in Kali Linux.
--[ Armitage ]
Armitage is a scriptable red team collaboration tool for Metasploit
that visualizes targets, recommends exploits and exposes the advanced
post-exploitation features in the framework. Through one Metasploit
instance, your team will:
- Use the same sessions
- Share hosts, captured data, and downloaded files
- Communicate through a shared event log
- Run bots to automate red team tasks
--[ GRUB ]
A boot loader is a software program
that runs when a computer boot. It's responsible for loading and
transferring control to an operating system kernel software. The kernel,
in turn, initializes the rest of the operating system.
GRUB (GRand Unified Boot-loader) or GNU GRUB
is a very powerful multi-boot loader, which can load a wide variety of
free operating systems, as well as proprietary operating systems with
chain-loading. GRUB is designed to address the complexity of booting a
personal computer. One of the important features in GRUB is flexibility;
GRUB understands filesystems and kernel executable formats, so you can
load an arbitrary operating system the way you like, without recording
the physical position of your kernel on the disk. Thus you can load the
kernel just by specifying its file name and the drive and partition
where the kernel resides.
--[ Install Compiz on Kali ]
modify /etc/apt/sources.list.
## SID: to get compiz
deb http://ftp.us.debian.org/debian/ sid main non-free contrib
In a root terminal type :
apt-get update
apt-get -t sid install compiz
you are done installing Compiz
--[ Chrome in Kali ]
Download the debian version of chrome
open a terminal, go to the file and run dpkg -i google-chrome-stable_current_i386.deb
to add it to the menu, go to Applications -> Accessories -> Main Menu
Click on the Internet icon on the left hand panel, and click the ‘New Item’ button on the right.
In the popup window, add a new application, name it as you like. i.e. 'Chrome'
As command type: google-chrome
You can't run it as root, it will produce an error. to solve that :
specify an alternate --user-data-dir for storage of profile information
go to /opt/google/chrome, open the file 'google-chrome'
on the last line add --user-data-dir, next to exec -a “$0″ “$HERE/chrome” “$@”
save the file.
Now you can run it as root.
open a terminal, go to the file and run dpkg -i google-chrome-stable_current_i386.deb
to add it to the menu, go to Applications -> Accessories -> Main Menu
Click on the Internet icon on the left hand panel, and click the ‘New Item’ button on the right.
In the popup window, add a new application, name it as you like. i.e. 'Chrome'
As command type: google-chrome
You can't run it as root, it will produce an error. to solve that :
specify an alternate --user-data-dir for storage of profile information
go to /opt/google/chrome, open the file 'google-chrome'
on the last line add --user-data-dir, next to exec -a “$0″ “$HERE/chrome” “$@”
save the file.
Now you can run it as root.
--[ Some shortcuts ]
SHELL MOVEMENT
- Ctrl+b
Move cursor left. - Ctrl+f
Move cursor right. - Ctrl+a
Move the cursor to the beginning of the line.
--[ Kali Cleaner ]
What does it :
- It cleans apt cache.
- Remove old config files.
- Remove old kernels.
- Empty every trashes.
Save the script on your Desktop. Make it executable and clean kali linux.
root@kali:~/Desktop# ./kali_cleaner.sh
Download:
https://github.com/MasterButcher/kali-cleaner
or you can use command in terminal:
git clone https://github.com/MasterButcher/kali-cleaner.git
- Remove old config files.
- Remove old kernels.
- Empty every trashes.
Save the script on your Desktop. Make it executable and clean kali linux.
root@kali:~/Desktop# ./kali_cleaner.sh
Download:
https://github.com/MasterButcher/kali-cleaner
or you can use command in terminal:
git clone https://github.com/MasterButcher/kali-cleaner.git
Subscribe to:
Posts (Atom)