ssldump

ssldump is an SSLv3/TLS network protocol analyzer.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
docker run -it --rm debian:10 bash

sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
sed -i "s#deb.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list && \
sed -i "s#security.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list && \
apt-get clean && \
apt-get update && \
apt-get install build-essential openssl libssl-dev curl vim ca-certificates git libpcap-dev -y
# libpcap0.8-dev libpcap0.8

git clone https://github.com/adulau/ssldump/

cd ssldump

./configure --prefix=/ --with-pcap-lib=/usr/lib/x86_64-linux-gnu/

make

make install
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
/usr/bin/install -c -m 755 -d //sbin
/usr/bin/install -c -m 755 -d //share/man/man1
/usr/bin/install -c -m 755 -d //share/doc/ssldump
/usr/bin/install -c -m 755 ssldump //sbin/ssldump
/usr/bin/install -c -m 644 ssldump.1 //share/man/man1/ssldump.1
/usr/bin/install -c -m 644 README //share/doc/ssldump
/usr/bin/install -c -m 644 README.md //share/doc/ssldump
/usr/bin/install -c -m 644 ChangeLog //share/doc/ssldump
/usr/bin/install -c -m 644 COPYRIGHT //share/doc/ssldump
/usr/bin/install -c -m 644 CREDITS //share/doc/ssldump

masscan

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# install masscan

sed -i "s#deb.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list && \
sed -i "s#security.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list && \
apt-get clean && \
apt-get update && \
apt-get install build-essential openssl libssl-dev curl vim ca-certificates git libpcap-dev -y

git clone https://github.com/robertdavidgraham/masscan
cd masscan
make

sniffglue

1
2
libseccomp-dev
# https://github.com/kpcyrd/sniffglue

amap

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
sed -i "s#deb.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list && \
sed -i "s#security.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list && apt-get update && apt-get  install -y build-essential openssl libssl-dev curl vim

curl -sSL -k -O https://raw.githubusercontent.com/vanhauser-thc/THC-Archive/master/Tools/amap-5.4.tar.gz
tar -xvf amap-5.4.tar.gz
cd amap-5.4
sed "s/^LIBDIRS=.*/LIBDIRS=\`cat \/etc\/ld.so.conf.d\/*.conf 2> \/dev\/null\`/g" -i ./configure
./configure --prefix=/
make && make install


# https://tools.kali.org/information-gathering/amap

ref

1
2
3
4
5
6
7
# apt-get install ncaptool packit sendip tcpdump ngrep libndpi-bin
/usr/bin/ncaptool
/usr/sbin/packit
/usr/bin/sendip
# https://github.com/Quagga
# https://github.com/FRRouting/frr
https://github.com/robertdavidgraham/masscan