[ERROR ENCOUNTERED] 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali

Subject: [ERROR ENCOUNTERED] 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali


Good day from Singapore,


I have encountered errors on my 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali.


Problem Description

====================


While running log4j security scanner, the virtual network adapter in my Ubuntu Linux virtual machine goes down from time to time. I will not be able to ping servers on the internet from time to time. I get Destination Host Unreachable from my ping tests.


Details of the setup

====================


Machine type: Desktop computer with LAN cable connection.

Host operating system: Windows 10 Pro

Hypervisor: Oracle VM VirtualBox 6.1

Virtual machine: Ubuntu 21.10 Linux amd64

Virtual network adapter: NAT mode


Linux console output

=====================


teo-en-ming@ubuntu-2110:~$ pwd

/home/teo-en-ming

teo-en-ming@ubuntu-2110:~$ mkdir tools

teo-en-ming@ubuntu-2110:~$ cd tools

teo-en-ming@ubuntu-2110:~/tools$ git clone https://github.com/adilsoybali/Log4j-RCE-Scanner.git

Command 'git' not found, but can be installed with:

sudo apt install git

teo-en-ming@ubuntu-2110:~/tools$ sudo apt install git

[sudo] password for teo-en-ming: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  git-man liberror-perl

Suggested packages:

  git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn

The following NEW packages will be installed:

  git git-man liberror-perl

0 upgraded, 3 newly installed, 0 to remove and 76 not upgraded.

Need to get 4,003 kB of archives.

After this operation, 20.3 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 liberror-perl all 0.17029-1 [26.5 kB]

Get:2 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 git-man all 1:2.32.0-1ubuntu1 [941 kB]

Get:3 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 git amd64 1:2.32.0-1ubuntu1 [3,036 kB]

Fetched 4,003 kB in 1s (3,851 kB/s)

Selecting previously unselected package liberror-perl.

(Reading database ... 183002 files and directories currently installed.)

Preparing to unpack .../liberror-perl_0.17029-1_all.deb ...

Unpacking liberror-perl (0.17029-1) ...

Selecting previously unselected package git-man.

Preparing to unpack .../git-man_1%3a2.32.0-1ubuntu1_all.deb ...

Unpacking git-man (1:2.32.0-1ubuntu1) ...

Selecting previously unselected package git.

Preparing to unpack .../git_1%3a2.32.0-1ubuntu1_amd64.deb ...

Unpacking git (1:2.32.0-1ubuntu1) ...

Setting up liberror-perl (0.17029-1) ...

Setting up git-man (1:2.32.0-1ubuntu1) ...

Setting up git (1:2.32.0-1ubuntu1) ...

Processing triggers for man-db (2.9.4-2) ...

teo-en-ming@ubuntu-2110:~/tools$ git clone https://github.com/adilsoybali/Log4j-RCE-Scanner.git

Cloning into 'Log4j-RCE-Scanner'...

remote: Enumerating objects: 85, done.

remote: Counting objects: 100% (85/85), done.

remote: Compressing objects: 100% (79/79), done.

remote: Total 85 (delta 40), reused 8 (delta 4), pack-reused 0

Receiving objects: 100% (85/85), 36.38 KiB | 3.03 MiB/s, done.

Resolving deltas: 100% (40/40), done.

teo-en-ming@ubuntu-2110:~/tools$ cd Log4j-RCE-Scanner/

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo chmod +x log4j-rce-scanner.sh 

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

curl 

httpx 

assetfinder 

subfinder 

amass 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo apt install curl httpx assetfinder subfinder amass

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done


No apt package "amass", but there is a snap with that name.

Try "snap install amass"


E: Unable to locate package httpx

E: Unable to locate package assetfinder

E: Unable to locate package subfinder

E: Unable to locate package amass

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo dpkg -l curl

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name           Version      Architecture Description

+++-==============-============-============-=================================

un  curl           <none>       <none>       (no description available)

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo apt install curl

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following NEW packages will be installed:

  curl

0 upgraded, 1 newly installed, 0 to remove and 76 not upgraded.

Need to get 179 kB of archives.

After this operation, 427 kB of additional disk space will be used.

Get:1 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 curl amd64 7.74.0-1.3ubuntu2 [179 kB]

Fetched 179 kB in 0s (410 kB/s)

Selecting previously unselected package curl.

(Reading database ... 183982 files and directories currently installed.)

Preparing to unpack .../curl_7.74.0-1.3ubuntu2_amd64.deb ...

Unpacking curl (7.74.0-1.3ubuntu2) ...

Setting up curl (7.74.0-1.3ubuntu2) ...

Processing triggers for man-db (2.9.4-2) ...

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ snap install amass

amass v3.15.2 from Jeff Foley (caffix) installed

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

httpx 

assetfinder 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ snap install httpx

error: snap "httpx" not found

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ pip install httpx

Command 'pip' not found, but can be installed with:

sudo apt install python3-pip

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo apt install python3-pip

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot g++ g++-11 gcc gcc-11 javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl

  libasan6 libatomic1 libbinutils libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libexpat1-dev libfakeroot libgcc-11-dev libitm1 libjs-jquery libjs-sphinxdoc

  libjs-underscore liblsan0 libnsl-dev libpython3-dev libpython3.9-dev libquadmath0 libstdc++-11-dev libtirpc-dev libtsan0 libubsan1 linux-libc-dev lto-disabled-list make manpages-dev python-pip-whl

  python3-dev python3-distutils python3-setuptools python3-wheel python3.9-dev rpcsvc-proto zlib1g-dev

Suggested packages:

  binutils-doc debian-keyring g++-multilib g++-11-multilib gcc-11-doc gcc-multilib autoconf automake libtool flex bison gcc-doc gcc-11-multilib gcc-11-locales apache2 | lighttpd | httpd glibc-doc

  libstdc++-11-doc make-doc python-setuptools-doc

The following NEW packages will be installed:

  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot g++ g++-11 gcc gcc-11 javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl

  libasan6 libatomic1 libbinutils libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libexpat1-dev libfakeroot libgcc-11-dev libitm1 libjs-jquery libjs-sphinxdoc

  libjs-underscore liblsan0 libnsl-dev libpython3-dev libpython3.9-dev libquadmath0 libstdc++-11-dev libtirpc-dev libtsan0 libubsan1 linux-libc-dev lto-disabled-list make manpages-dev python-pip-whl

  python3-dev python3-distutils python3-pip python3-setuptools python3-wheel python3.9-dev rpcsvc-proto zlib1g-dev

0 upgraded, 53 newly installed, 0 to remove and 76 not upgraded.

Need to get 145 MB of archives.

After this operation, 454 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 binutils-common amd64 2.37-7ubuntu1 [212 kB]

Get:2 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libbinutils amd64 2.37-7ubuntu1 [654 kB]

Get:3 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libctf-nobfd0 amd64 2.37-7ubuntu1 [106 kB]

Get:4 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libctf0 amd64 2.37-7ubuntu1 [103 kB]

Get:5 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 binutils-x86-64-linux-gnu amd64 2.37-7ubuntu1 [2,315 kB]

Get:6 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 binutils amd64 2.37-7ubuntu1 [3,190 B]

Get:7 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libc-dev-bin amd64 2.34-0ubuntu3 [20.3 kB]

Get:8 http://sg.archive.ubuntu.com/ubuntu impish-updates/main amd64 linux-libc-dev amd64 5.13.0-22.22 [1,305 kB]

Get:9 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libcrypt-dev amd64 1:4.4.18-4ubuntu1 [104 kB]

Get:10 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu5 [68.4 kB]

Get:11 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libtirpc-dev amd64 1.3.2-2 [192 kB]

Get:12 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libnsl-dev amd64 1.3.0-2build1 [71.2 kB]

Get:13 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libc6-dev amd64 2.34-0ubuntu3 [1,886 kB]

Get:14 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libcc1-0 amd64 11.2.0-7ubuntu2 [53.9 kB]

Get:15 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libitm1 amd64 11.2.0-7ubuntu2 [30.0 kB]

Get:16 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libatomic1 amd64 11.2.0-7ubuntu2 [10.0 kB]

Get:17 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libasan6 amd64 11.2.0-7ubuntu2 [2,280 kB]

Get:18 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 liblsan0 amd64 11.2.0-7ubuntu2 [974 kB]

Get:19 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libtsan0 amd64 11.2.0-7ubuntu2 [2,259 kB]

Get:20 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libubsan1 amd64 11.2.0-7ubuntu2 [920 kB]

Get:21 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libquadmath0 amd64 11.2.0-7ubuntu2 [154 kB]

Get:22 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libgcc-11-dev amd64 11.2.0-7ubuntu2 [2,526 kB]

Get:23 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 gcc-11 amd64 11.2.0-7ubuntu2 [59.3 MB]

Get:24 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5,112 B]

Get:25 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libstdc++-11-dev amd64 11.2.0-7ubuntu2 [2,073 kB]

Get:26 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 g++-11 amd64 11.2.0-7ubuntu2 [55.2 MB]

Get:27 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 g++ amd64 4:11.2.0-1ubuntu1 [1,412 B]                                                                                                         

Get:28 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 make amd64 4.3-4ubuntu1 [167 kB]                                                                                                              

Get:29 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 lto-disabled-list all 16 [12.5 kB]                                                                                                            

Get:30 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 dpkg-dev all 1.20.9ubuntu2 [937 kB]                                                                                                           

Get:31 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 build-essential amd64 12.9ubuntu2 [4,678 B]                                                                                                   

Get:32 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libfakeroot amd64 1.25.3-1.1ubuntu2 [28.1 kB]                                                                                                 

Get:33 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 fakeroot amd64 1.25.3-1.1ubuntu2 [62.9 kB]                                                                                                    

Get:34 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 javascript-common all 11+nmu1 [5,936 B]                                                                                                       

Get:35 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libalgorithm-diff-perl all 1.201-1 [41.8 kB]                                                                                                  

Get:36 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6build1 [11.4 kB]                                                                                        

Get:37 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]                                                                                                  

Get:38 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libc-devtools amd64 2.34-0ubuntu3 [28.7 kB]                                                                                                   

Get:39 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libexpat1-dev amd64 2.4.1-2 [147 kB]                                                                                                          

Get:40 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libjs-jquery all 3.5.1+dfsg+~3.5.5-7 [314 kB]                                                                                                 

Get:41 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libjs-underscore all 1.9.1~dfsg-3 [99.3 kB]                                                                                                   

Get:42 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libjs-sphinxdoc all 3.5.4-2 [131 kB]                                                                                                          

Get:43 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu7 [164 kB]                                                                                              

Get:44 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libpython3.9-dev amd64 3.9.7-2build1 [4,600 kB]                                                                                               

Get:45 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 libpython3-dev amd64 3.9.4-1build1 [7,402 B]                                                                                                  

Get:46 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 manpages-dev all 5.10-1ubuntu1 [2,309 kB]                                                                                                     

Get:47 http://sg.archive.ubuntu.com/ubuntu impish/universe amd64 python-pip-whl all 20.3.4-4 [1,897 kB]                                                                                                    

Get:48 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 python3.9-dev amd64 3.9.7-2build1 [507 kB]                                                                                                    

Get:49 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 python3-distutils all 3.9.7-1 [144 kB]                                                                                                        

Get:50 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 python3-dev amd64 3.9.4-1build1 [25.5 kB]                                                                                                     

Get:51 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 python3-setuptools all 52.0.0-4 [305 kB]                                                                                                      

Get:52 http://sg.archive.ubuntu.com/ubuntu impish/universe amd64 python3-wheel all 0.34.2-1 [23.8 kB]                                                                                                      

Get:53 http://sg.archive.ubuntu.com/ubuntu impish/universe amd64 python3-pip all 20.3.4-4 [283 kB]                                                                                                         

Fetched 145 MB in 10s (14.0 MB/s)                                                                                                                                                                          

Extracting templates from packages: 100%

Selecting previously unselected package binutils-common:amd64.

(Reading database ... 183989 files and directories currently installed.)

Preparing to unpack .../00-binutils-common_2.37-7ubuntu1_amd64.deb ...

Unpacking binutils-common:amd64 (2.37-7ubuntu1) ...

Selecting previously unselected package libbinutils:amd64.

Preparing to unpack .../01-libbinutils_2.37-7ubuntu1_amd64.deb ...

Unpacking libbinutils:amd64 (2.37-7ubuntu1) ...

Selecting previously unselected package libctf-nobfd0:amd64.

Preparing to unpack .../02-libctf-nobfd0_2.37-7ubuntu1_amd64.deb ...

Unpacking libctf-nobfd0:amd64 (2.37-7ubuntu1) ...

Selecting previously unselected package libctf0:amd64.

Preparing to unpack .../03-libctf0_2.37-7ubuntu1_amd64.deb ...

Unpacking libctf0:amd64 (2.37-7ubuntu1) ...

Selecting previously unselected package binutils-x86-64-linux-gnu.

Preparing to unpack .../04-binutils-x86-64-linux-gnu_2.37-7ubuntu1_amd64.deb ...

Unpacking binutils-x86-64-linux-gnu (2.37-7ubuntu1) ...

Selecting previously unselected package binutils.

Preparing to unpack .../05-binutils_2.37-7ubuntu1_amd64.deb ...

Unpacking binutils (2.37-7ubuntu1) ...

Selecting previously unselected package libc-dev-bin.

Preparing to unpack .../06-libc-dev-bin_2.34-0ubuntu3_amd64.deb ...

Unpacking libc-dev-bin (2.34-0ubuntu3) ...

Selecting previously unselected package linux-libc-dev:amd64.

Preparing to unpack .../07-linux-libc-dev_5.13.0-22.22_amd64.deb ...

Unpacking linux-libc-dev:amd64 (5.13.0-22.22) ...

Selecting previously unselected package libcrypt-dev:amd64.

Preparing to unpack .../08-libcrypt-dev_1%3a4.4.18-4ubuntu1_amd64.deb ...

Unpacking libcrypt-dev:amd64 (1:4.4.18-4ubuntu1) ...

Selecting previously unselected package rpcsvc-proto.

Preparing to unpack .../09-rpcsvc-proto_1.4.2-0ubuntu5_amd64.deb ...

Unpacking rpcsvc-proto (1.4.2-0ubuntu5) ...

Selecting previously unselected package libtirpc-dev:amd64.

Preparing to unpack .../10-libtirpc-dev_1.3.2-2_amd64.deb ...

Unpacking libtirpc-dev:amd64 (1.3.2-2) ...

Selecting previously unselected package libnsl-dev:amd64.

Preparing to unpack .../11-libnsl-dev_1.3.0-2build1_amd64.deb ...

Unpacking libnsl-dev:amd64 (1.3.0-2build1) ...

Selecting previously unselected package libc6-dev:amd64.

Preparing to unpack .../12-libc6-dev_2.34-0ubuntu3_amd64.deb ...

Unpacking libc6-dev:amd64 (2.34-0ubuntu3) ...

Selecting previously unselected package libcc1-0:amd64.

Preparing to unpack .../13-libcc1-0_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libcc1-0:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package libitm1:amd64.

Preparing to unpack .../14-libitm1_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libitm1:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package libatomic1:amd64.

Preparing to unpack .../15-libatomic1_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libatomic1:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package libasan6:amd64.

Preparing to unpack .../16-libasan6_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libasan6:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package liblsan0:amd64.

Preparing to unpack .../17-liblsan0_11.2.0-7ubuntu2_amd64.deb ...

Unpacking liblsan0:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package libtsan0:amd64.

Preparing to unpack .../18-libtsan0_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libtsan0:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package libubsan1:amd64.

Preparing to unpack .../19-libubsan1_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libubsan1:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package libquadmath0:amd64.

Preparing to unpack .../20-libquadmath0_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libquadmath0:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package libgcc-11-dev:amd64.

Preparing to unpack .../21-libgcc-11-dev_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libgcc-11-dev:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package gcc-11.

Preparing to unpack .../22-gcc-11_11.2.0-7ubuntu2_amd64.deb ...

Unpacking gcc-11 (11.2.0-7ubuntu2) ...

Selecting previously unselected package gcc.

Preparing to unpack .../23-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ...

Unpacking gcc (4:11.2.0-1ubuntu1) ...

Selecting previously unselected package libstdc++-11-dev:amd64.

Preparing to unpack .../24-libstdc++-11-dev_11.2.0-7ubuntu2_amd64.deb ...

Unpacking libstdc++-11-dev:amd64 (11.2.0-7ubuntu2) ...

Selecting previously unselected package g++-11.

Preparing to unpack .../25-g++-11_11.2.0-7ubuntu2_amd64.deb ...

Unpacking g++-11 (11.2.0-7ubuntu2) ...

Selecting previously unselected package g++.

Preparing to unpack .../26-g++_4%3a11.2.0-1ubuntu1_amd64.deb ...

Unpacking g++ (4:11.2.0-1ubuntu1) ...

Selecting previously unselected package make.

Preparing to unpack .../27-make_4.3-4ubuntu1_amd64.deb ...

Unpacking make (4.3-4ubuntu1) ...

Selecting previously unselected package lto-disabled-list.

Preparing to unpack .../28-lto-disabled-list_16_all.deb ...

Unpacking lto-disabled-list (16) ...

Selecting previously unselected package dpkg-dev.

Preparing to unpack .../29-dpkg-dev_1.20.9ubuntu2_all.deb ...

Unpacking dpkg-dev (1.20.9ubuntu2) ...

Selecting previously unselected package build-essential.

Preparing to unpack .../30-build-essential_12.9ubuntu2_amd64.deb ...

Unpacking build-essential (12.9ubuntu2) ...

Selecting previously unselected package libfakeroot:amd64.

Preparing to unpack .../31-libfakeroot_1.25.3-1.1ubuntu2_amd64.deb ...

Unpacking libfakeroot:amd64 (1.25.3-1.1ubuntu2) ...

Selecting previously unselected package fakeroot.

Preparing to unpack .../32-fakeroot_1.25.3-1.1ubuntu2_amd64.deb ...

Unpacking fakeroot (1.25.3-1.1ubuntu2) ...

Selecting previously unselected package javascript-common.

Preparing to unpack .../33-javascript-common_11+nmu1_all.deb ...

Unpacking javascript-common (11+nmu1) ...

Selecting previously unselected package libalgorithm-diff-perl.

Preparing to unpack .../34-libalgorithm-diff-perl_1.201-1_all.deb ...

Unpacking libalgorithm-diff-perl (1.201-1) ...

Selecting previously unselected package libalgorithm-diff-xs-perl.

Preparing to unpack .../35-libalgorithm-diff-xs-perl_0.04-6build1_amd64.deb ...

Unpacking libalgorithm-diff-xs-perl (0.04-6build1) ...

Selecting previously unselected package libalgorithm-merge-perl.

Preparing to unpack .../36-libalgorithm-merge-perl_0.08-3_all.deb ...

Unpacking libalgorithm-merge-perl (0.08-3) ...

Selecting previously unselected package libc-devtools.

Preparing to unpack .../37-libc-devtools_2.34-0ubuntu3_amd64.deb ...

Unpacking libc-devtools (2.34-0ubuntu3) ...

Selecting previously unselected package libexpat1-dev:amd64.

Preparing to unpack .../38-libexpat1-dev_2.4.1-2_amd64.deb ...

Unpacking libexpat1-dev:amd64 (2.4.1-2) ...

Selecting previously unselected package libjs-jquery.

Preparing to unpack .../39-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ...

Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...

Selecting previously unselected package libjs-underscore.

Preparing to unpack .../40-libjs-underscore_1.9.1~dfsg-3_all.deb ...

Unpacking libjs-underscore (1.9.1~dfsg-3) ...

Selecting previously unselected package libjs-sphinxdoc.

Preparing to unpack .../41-libjs-sphinxdoc_3.5.4-2_all.deb ...

Unpacking libjs-sphinxdoc (3.5.4-2) ...

Selecting previously unselected package zlib1g-dev:amd64.

Preparing to unpack .../42-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu7_amd64.deb ...

Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu7) ...

Selecting previously unselected package libpython3.9-dev:amd64.

Preparing to unpack .../43-libpython3.9-dev_3.9.7-2build1_amd64.deb ...

Unpacking libpython3.9-dev:amd64 (3.9.7-2build1) ...

Selecting previously unselected package libpython3-dev:amd64.

Preparing to unpack .../44-libpython3-dev_3.9.4-1build1_amd64.deb ...

Unpacking libpython3-dev:amd64 (3.9.4-1build1) ...

Selecting previously unselected package manpages-dev.

Preparing to unpack .../45-manpages-dev_5.10-1ubuntu1_all.deb ...

Unpacking manpages-dev (5.10-1ubuntu1) ...

Selecting previously unselected package python-pip-whl.

Preparing to unpack .../46-python-pip-whl_20.3.4-4_all.deb ...

Unpacking python-pip-whl (20.3.4-4) ...

Selecting previously unselected package python3.9-dev.

Preparing to unpack .../47-python3.9-dev_3.9.7-2build1_amd64.deb ...

Unpacking python3.9-dev (3.9.7-2build1) ...

Selecting previously unselected package python3-distutils.

Preparing to unpack .../48-python3-distutils_3.9.7-1_all.deb ...

Unpacking python3-distutils (3.9.7-1) ...

Selecting previously unselected package python3-dev.

Preparing to unpack .../49-python3-dev_3.9.4-1build1_amd64.deb ...

Unpacking python3-dev (3.9.4-1build1) ...

Selecting previously unselected package python3-setuptools.

Preparing to unpack .../50-python3-setuptools_52.0.0-4_all.deb ...

Unpacking python3-setuptools (52.0.0-4) ...

Selecting previously unselected package python3-wheel.

Preparing to unpack .../51-python3-wheel_0.34.2-1_all.deb ...

Unpacking python3-wheel (0.34.2-1) ...

Selecting previously unselected package python3-pip.

Preparing to unpack .../52-python3-pip_20.3.4-4_all.deb ...

Unpacking python3-pip (20.3.4-4) ...

Setting up python3-distutils (3.9.7-1) ...

Setting up javascript-common (11+nmu1) ...

Setting up manpages-dev (5.10-1ubuntu1) ...

Setting up lto-disabled-list (16) ...

Setting up python3-setuptools (52.0.0-4) ...

Setting up libalgorithm-diff-perl (1.201-1) ...

Setting up binutils-common:amd64 (2.37-7ubuntu1) ...

Setting up linux-libc-dev:amd64 (5.13.0-22.22) ...

Setting up libctf-nobfd0:amd64 (2.37-7ubuntu1) ...

Setting up python3-wheel (0.34.2-1) ...

Setting up libfakeroot:amd64 (1.25.3-1.1ubuntu2) ...

Setting up libasan6:amd64 (11.2.0-7ubuntu2) ...

Setting up fakeroot (1.25.3-1.1ubuntu2) ...

update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode

Setting up libtirpc-dev:amd64 (1.3.2-2) ...

Setting up rpcsvc-proto (1.4.2-0ubuntu5) ...

Setting up make (4.3-4ubuntu1) ...

Setting up libquadmath0:amd64 (11.2.0-7ubuntu2) ...

Setting up libatomic1:amd64 (11.2.0-7ubuntu2) ...

Setting up libubsan1:amd64 (11.2.0-7ubuntu2) ...

Setting up libnsl-dev:amd64 (1.3.0-2build1) ...

Setting up libcrypt-dev:amd64 (1:4.4.18-4ubuntu1) ...

Setting up python-pip-whl (20.3.4-4) ...

Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...

Setting up libbinutils:amd64 (2.37-7ubuntu1) ...

Setting up libc-dev-bin (2.34-0ubuntu3) ...

Setting up libalgorithm-diff-xs-perl (0.04-6build1) ...

Setting up libcc1-0:amd64 (11.2.0-7ubuntu2) ...

Setting up liblsan0:amd64 (11.2.0-7ubuntu2) ...

Setting up libitm1:amd64 (11.2.0-7ubuntu2) ...

Setting up libc-devtools (2.34-0ubuntu3) ...

Setting up libjs-underscore (1.9.1~dfsg-3) ...

Setting up libalgorithm-merge-perl (0.08-3) ...

Setting up libtsan0:amd64 (11.2.0-7ubuntu2) ...

Setting up libctf0:amd64 (2.37-7ubuntu1) ...

Setting up python3-pip (20.3.4-4) ...

Setting up libjs-sphinxdoc (3.5.4-2) ...

Setting up libgcc-11-dev:amd64 (11.2.0-7ubuntu2) ...

Setting up libc6-dev:amd64 (2.34-0ubuntu3) ...

Setting up binutils-x86-64-linux-gnu (2.37-7ubuntu1) ...

Setting up binutils (2.37-7ubuntu1) ...

Setting up dpkg-dev (1.20.9ubuntu2) ...

Setting up libexpat1-dev:amd64 (2.4.1-2) ...

Setting up libstdc++-11-dev:amd64 (11.2.0-7ubuntu2) ...

Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu7) ...

Setting up gcc-11 (11.2.0-7ubuntu2) ...

Setting up g++-11 (11.2.0-7ubuntu2) ...

Setting up libpython3.9-dev:amd64 (3.9.7-2build1) ...

Setting up gcc (4:11.2.0-1ubuntu1) ...

Setting up g++ (4:11.2.0-1ubuntu1) ...

update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode

Setting up python3.9-dev (3.9.7-2build1) ...

Setting up build-essential (12.9ubuntu2) ...

Setting up libpython3-dev:amd64 (3.9.4-1build1) ...

Setting up python3-dev (3.9.4-1build1) ...

Processing triggers for man-db (2.9.4-2) ...

Processing triggers for libc-bin (2.34-0ubuntu3) ...

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ 


./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


teo-en-ming@ubuntu-2110:~$ cd tools/

teo-en-ming@ubuntu-2110:~/tools$ ls

Log4j-RCE-Scanner

teo-en-ming@ubuntu-2110:~/tools$ cd Log4j-RCE-Scanner/

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

httpx 

assetfinder 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ pip install httpx

Collecting httpx

  Downloading httpx-0.21.1-py3-none-any.whl (83 kB)

     |████████████████████████████████| 83 kB 1.1 MB/s 

Collecting rfc3986[idna2008]<2,>=1.3

  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)

Collecting charset-normalizer

  Downloading charset_normalizer-2.0.9-py3-none-any.whl (39 kB)

Collecting sniffio

  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)

Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx) (2020.6.20)

Collecting httpcore<0.15.0,>=0.14.0

  Downloading httpcore-0.14.3-py3-none-any.whl (56 kB)

     |████████████████████████████████| 56 kB 882 kB/s 

Collecting anyio==3.*

  Downloading anyio-3.4.0-py3-none-any.whl (78 kB)

     |████████████████████████████████| 78 kB 8.9 MB/s 

Collecting h11<0.13,>=0.11

  Downloading h11-0.12.0-py3-none-any.whl (54 kB)

     |████████████████████████████████| 54 kB 3.7 MB/s 

Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio==3.*->httpcore<0.15.0,>=0.14.0->httpx) (2.10)

Installing collected packages: sniffio, rfc3986, h11, anyio, httpcore, charset-normalizer, httpx

  WARNING: The script normalizer is installed in '/home/teo-en-ming/.local/bin' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

  WARNING: The script httpx is installed in '/home/teo-en-ming/.local/bin' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Successfully installed anyio-3.4.0 charset-normalizer-2.0.9 h11-0.12.0 httpcore-0.14.3 httpx-0.21.1 rfc3986-1.5.0 sniffio-1.2.0

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

httpx 

assetfinder 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo pip install httpx

[sudo] password for teo-en-ming: 

Collecting httpx

  Downloading httpx-0.21.1-py3-none-any.whl (83 kB)

     |████████████████████████████████| 83 kB 1.9 MB/s 

Collecting charset-normalizer

  Downloading charset_normalizer-2.0.9-py3-none-any.whl (39 kB)

Collecting sniffio

  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)

Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx) (2020.6.20)

Collecting rfc3986[idna2008]<2,>=1.3

  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)

Collecting httpcore<0.15.0,>=0.14.0

  Downloading httpcore-0.14.3-py3-none-any.whl (56 kB)

     |████████████████████████████████| 56 kB 5.3 MB/s 

Collecting h11<0.13,>=0.11

  Downloading h11-0.12.0-py3-none-any.whl (54 kB)

     |████████████████████████████████| 54 kB 2.9 MB/s 

Collecting anyio==3.*

  Downloading anyio-3.4.0-py3-none-any.whl (78 kB)

     |████████████████████████████████| 78 kB 8.8 MB/s 

Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio==3.*->httpcore<0.15.0,>=0.14.0->httpx) (2.10)

Installing collected packages: sniffio, rfc3986, h11, anyio, httpcore, charset-normalizer, httpx

Successfully installed anyio-3.4.0 charset-normalizer-2.0.9 h11-0.12.0 httpcore-0.14.3 httpx-0.21.1 rfc3986-1.5.0 sniffio-1.2.0

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

assetfinder 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo pip install assetfinder

ERROR: Could not find a version that satisfies the requirement assetfinder

ERROR: No matching distribution found for assetfinder

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo apt install assetfinder

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

E: Unable to locate package assetfinder

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ which go

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo apt install go

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done


No apt package "go", but there is a snap with that name.

Try "snap install go"


E: Unable to locate package go

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo snap install go

error: This revision of snap "go" was published using classic confinement and thus may perform

       arbitrary system changes outside of the security sandbox that snaps are usually confined to,

       which may put your system at risk.


       If you understand and want to proceed repeat the command including --classic.

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ snap install go

error: This revision of snap "go" was published using classic confinement and thus may perform

       arbitrary system changes outside of the security sandbox that snaps are usually confined to,

       which may put your system at risk.


       If you understand and want to proceed repeat the command including --classic.

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ snap install go --classic

go 1.17.5 from Michael Hudson-Doyle (mwhudson) installed

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go get -u github.com/tomnomnom/assetfinder

go: downloading github.com/tomnomnom/assetfinder v0.1.1

go get: installing executables with 'go get' in module mode is deprecated.

Use 'go install pkg@version' instead.

For more information, see https://golang.org/doc/go-get-install-deprecation

or run 'go help get' or 'go help install'.

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go install assetfinder

go install: version is required when current directory is not in a module

Try 'go install assetfinder@latest' to install the latest version

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go install assetfinder@latest

go install: assetfinder@latest: malformed module path "assetfinder": missing dot in first path element

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo go install assetfinder@latest

go install: assetfinder@latest: malformed module path "assetfinder": missing dot in first path element

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo go install assetfinder@0.1.1

go install: assetfinder@0.1.1: malformed module path "assetfinder": missing dot in first path element

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo go install assetfinder@v0.1.1

go install: assetfinder@v0.1.1: malformed module path "assetfinder": missing dot in first path element

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go install github.com/tomnomnom/assetfinder

go install: version is required when current directory is not in a module

Try 'go install github.com/tomnomnom/assetfinder@latest' to install the latest version

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go install github.com/tomnomnom/assetfinder@latest

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

assetfinder 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo go install github.com/tomnomnom/assetfinder@latest

go: downloading github.com/tomnomnom/assetfinder v0.1.1

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

assetfinder 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ which assetfinder

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ;s

bash: syntax error near unexpected token `;'

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ls

CODE_OF_CONDUCT.md  LICENSE  log4j-rce-scanner.sh  README.md

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo apt install golang

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  golang-1.17 golang-1.17-doc golang-1.17-go golang-1.17-src golang-doc golang-go golang-src

Suggested packages:

  bzr | brz mercurial subversion

The following NEW packages will be installed:

  golang golang-1.17 golang-1.17-doc golang-1.17-go golang-1.17-src golang-doc golang-go golang-src

0 upgraded, 8 newly installed, 0 to remove and 71 not upgraded.

Need to get 77.1 MB of archives.

After this operation, 424 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang-1.17-doc all 1.17-1ubuntu2 [91.9 kB]

Get:2 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang-1.17-src all 1.17-1ubuntu2 [15.9 MB]

Get:3 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang-1.17-go amd64 1.17-1ubuntu2 [61.1 MB]

Get:4 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang-1.17 all 1.17-1ubuntu2 [11.2 kB]

Get:5 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang-src amd64 2:1.17~0ubuntu1 [4,122 B]

Get:6 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang-go amd64 2:1.17~0ubuntu1 [21.9 kB]

Get:7 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang-doc all 2:1.17~0ubuntu1 [2,766 B]

Get:8 http://sg.archive.ubuntu.com/ubuntu impish/main amd64 golang amd64 2:1.17~0ubuntu1 [2,730 B]

Fetched 77.1 MB in 4s (19.3 MB/s)

Selecting previously unselected package golang-1.17-doc.

(Reading database ... 190454 files and directories currently installed.)

Preparing to unpack .../0-golang-1.17-doc_1.17-1ubuntu2_all.deb ...

Unpacking golang-1.17-doc (1.17-1ubuntu2) ...

Selecting previously unselected package golang-1.17-src.

Preparing to unpack .../1-golang-1.17-src_1.17-1ubuntu2_all.deb ...

Unpacking golang-1.17-src (1.17-1ubuntu2) ...

Selecting previously unselected package golang-1.17-go.

Preparing to unpack .../2-golang-1.17-go_1.17-1ubuntu2_amd64.deb ...

Unpacking golang-1.17-go (1.17-1ubuntu2) ...

Selecting previously unselected package golang-1.17.

Preparing to unpack .../3-golang-1.17_1.17-1ubuntu2_all.deb ...

Unpacking golang-1.17 (1.17-1ubuntu2) ...

Selecting previously unselected package golang-src:amd64.

Preparing to unpack .../4-golang-src_2%3a1.17~0ubuntu1_amd64.deb ...

Unpacking golang-src:amd64 (2:1.17~0ubuntu1) ...

Selecting previously unselected package golang-go.

Preparing to unpack .../5-golang-go_2%3a1.17~0ubuntu1_amd64.deb ...

Unpacking golang-go (2:1.17~0ubuntu1) ...

Selecting previously unselected package golang-doc.

Preparing to unpack .../6-golang-doc_2%3a1.17~0ubuntu1_all.deb ...

Unpacking golang-doc (2:1.17~0ubuntu1) ...

Selecting previously unselected package golang:amd64.

Preparing to unpack .../7-golang_2%3a1.17~0ubuntu1_amd64.deb ...

Unpacking golang:amd64 (2:1.17~0ubuntu1) ...

Setting up golang-1.17-doc (1.17-1ubuntu2) ...

Setting up golang-1.17-src (1.17-1ubuntu2) ...

Setting up golang-1.17-go (1.17-1ubuntu2) ...

Setting up golang-src:amd64 (2:1.17~0ubuntu1) ...

Setting up golang-go (2:1.17~0ubuntu1) ...

Setting up golang-1.17 (1.17-1ubuntu2) ...

Setting up golang-doc (2:1.17~0ubuntu1) ...

Setting up golang:amd64 (2:1.17~0ubuntu1) ...

Processing triggers for man-db (2.9.4-2) ...

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go get -u github.com/tomnomnom/assetfinder

go get: installing executables with 'go get' in module mode is deprecated.

Use 'go install pkg@version' instead.

For more information, see https://golang.org/doc/go-get-install-deprecation

or run 'go help get' or 'go help install'.

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go install assetfinder@latest

go install: assetfinder@latest: malformed module path "assetfinder": missing dot in first path element

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go install github.com/tomnomnom/assetfinder@latest

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ which assetfinder

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ echo $GOPATH


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ pwd

/home/teo-en-ming/tools/Log4j-RCE-Scanner

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ cd ..

teo-en-ming@ubuntu-2110:~/tools$ cd ..

teo-en-ming@ubuntu-2110:~$ ls

'my passwords.txt'   Desktop   Documents   Downloads   go   log4j.txt   Music   Pictures   Public   snap   Templates   tools   Videos

teo-en-ming@ubuntu-2110:~$ cd tools

teo-en-ming@ubuntu-2110:~/tools$ ls

Log4j-RCE-Scanner

teo-en-ming@ubuntu-2110:~/tools$ cd ..

teo-en-ming@ubuntu-2110:~$ cd /root

bash: cd: /root: Permission denied

teo-en-ming@ubuntu-2110:~$ ls

'my passwords.txt'   Desktop   Documents   Downloads   go   log4j.txt   Music   Pictures   Public   snap   Templates   tools   Videos

teo-en-ming@ubuntu-2110:~$ sudo su

root@ubuntu-2110:/home/teo-en-ming# cd /

root@ubuntu-2110:/# ls

bin  boot  cdrom  dev  etc  home  lib  lib32  lib64  libx32  lost+found  media  mnt  opt  proc  root  run  sbin  snap  srv  swapfile  sys  tmp  usr  var

root@ubuntu-2110:/# exit

exit

teo-en-ming@ubuntu-2110:~$ which go

/usr/bin/go

teo-en-ming@ubuntu-2110:~$ sudo dpkg --list

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name                                       Version                            Architecture Description

+++-==========================================-==================================-============-===============================================================================

ii  accountsservice                            0.6.55-0ubuntu14.1                 amd64        query and manipulate user account information

ii  acl                                        2.2.53-10ubuntu2                   amd64        access control list - utilities

ii  acpi-support                               0.143build1                        amd64        scripts for handling many ACPI events

ii  acpid                                      1:2.0.32-1ubuntu2                  amd64        Advanced Configuration and Power Interface event daemon

ii  adduser                                    3.118ubuntu5                       all          add and remove users and groups

ii  adwaita-icon-theme                         40.1.1-1ubuntu1                    all          default icon theme of GNOME (small subset)

ii  aisleriot                                  1:3.22.9-1build1                   amd64        GNOME solitaire card game collection

ii  alsa-base                                  1.0.25+dfsg-0ubuntu7               all          ALSA driver configuration files

ii  alsa-topology-conf                         1.2.5.1-2                          all          ALSA topology configuration files

ii  alsa-ucm-conf                              1.2.4-2ubuntu4                     all          ALSA Use Case Manager configuration files

ii  alsa-utils                                 1.2.4-1ubuntu4                     amd64        Utilities for configuring and using ALSA

ii  amd64-microcode                            3.20191218.1ubuntu2                amd64        Processor microcode firmware for AMD CPUs

ii  anacron                                    2.3-30ubuntu3                      amd64        cron-like program that doesn't go by time

ii  apg                                        2.2.3.dfsg.1-5build1               amd64        Automated Password Generator - Standalone version

ii  app-install-data-partner                   21.10                              all          Application Installer (data files for partner applications/repositories)

ii  apparmor                                   3.0.3-0ubuntu1                     amd64        user-space parser utility for AppArmor

ii  apport                                     2.20.11-0ubuntu71                  all          automatically generate crash reports for debugging

ii  apport-gtk                                 2.20.11-0ubuntu71                  all          GTK+ frontend for the apport crash report system

ii  apport-symptoms                            0.24                               all          symptom scripts for apport

ii  appstream                                  0.14.5-1                           amd64        Software component metadata management

ii  apt                                        2.3.9                              amd64        commandline package manager

ii  apt-config-icons                           0.14.5-1                           all          APT configuration snippet to enable icon downloads

ii  apt-config-icons-hidpi                     0.14.5-1                           all          APT configuration snippet to enable HiDPI icon downloads

ii  apt-utils                                  2.3.9                              amd64        package management related utility programs

ii  aptdaemon                                  1.1.1+bzr982-0ubuntu36             all          transaction based package management service

ii  aptdaemon-data                             1.1.1+bzr982-0ubuntu36             all          data files for clients

ii  apturl                                     0.5.2ubuntu21                      amd64        install packages using the apt protocol - GTK+ frontend

ii  apturl-common                              0.5.2ubuntu21                      amd64        install packages using the apt protocol - common data

ii  aspell                                     0.60.8-3                           amd64        GNU Aspell spell-checker

ii  aspell-en                                  2018.04.16-0-1                     all          English dictionary for GNU Aspell

ii  at-spi2-core                               2.42.0-1                           amd64        Assistive Technology Service Provider Interface (dbus core)

ii  avahi-autoipd                              0.8-5ubuntu4                       amd64        Avahi IPv4LL network address configuration daemon

ii  avahi-daemon                               0.8-5ubuntu4                       amd64        Avahi mDNS/DNS-SD daemon

ii  avahi-utils                                0.8-5ubuntu4                       amd64        Avahi browsing, publishing and discovery utilities

ii  baobab                                     41.0-1                             amd64        GNOME disk usage analyzer

ii  base-files                                 11.1ubuntu5                        amd64        Debian base system miscellaneous files

ii  base-passwd                                3.5.51                             amd64        Debian base system master password and group files

ii  bash                                       5.1-3ubuntu2                       amd64        GNU Bourne Again SHell

ii  bash-completion                            1:2.11-2ubuntu1                    all          programmable completion for the bash shell

ii  bc                                         1.07.1-2build3                     amd64        GNU bc arbitrary precision calculator language

ii  bind9-dnsutils                             1:9.16.15-1ubuntu1.1               amd64        Clients provided with BIND 9

ii  bind9-host                                 1:9.16.15-1ubuntu1.1               amd64        DNS Lookup Utility

ii  bind9-libs:amd64                           1:9.16.15-1ubuntu1.1               amd64        Shared Libraries used by BIND 9

ii  binutils                                   2.37-7ubuntu1                      amd64        GNU assembler, linker and binary utilities

ii  binutils-common:amd64                      2.37-7ubuntu1                      amd64        Common files for the GNU assembler, linker and binary utilities

ii  binutils-x86-64-linux-gnu                  2.37-7ubuntu1                      amd64        GNU binary utilities, for x86-64-linux-gnu target

ii  bluez                                      5.60-0ubuntu2.1                    amd64        Bluetooth tools and daemons

ii  bluez-cups                                 5.60-0ubuntu2.1                    amd64        Bluetooth printer driver for CUPS

ii  bluez-obexd                                5.60-0ubuntu2.1                    amd64        bluez obex daemon

teo-en-ming@ubuntu-2110:~$ sudo dpkg --list go

dpkg-query: no packages found matching go

teo-en-ming@ubuntu-2110:~$ sudo dpkg --list golang

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name           Version         Architecture Description

+++-==============-===============-============-==============================================

ii  golang:amd64   2:1.17~0ubuntu1 amd64        Go programming language compiler - metapackage

teo-en-ming@ubuntu-2110:~$ sudo su 

root@ubuntu-2110:/home/teo-en-ming# nano ~/.bashrc

root@ubuntu-2110:/home/teo-en-ming# source ~/.bashrc

root@ubuntu-2110:/home/teo-en-ming# exit

exit

teo-en-ming@ubuntu-2110:~$ echo $GOPATH


teo-en-ming@ubuntu-2110:~$ echo $GOROOT


teo-en-ming@ubuntu-2110:~$ pwd

/home/teo-en-ming

teo-en-ming@ubuntu-2110:~$ go get -u github.com/tomnomnom/assetfinder

go get: installing executables with 'go get' in module mode is deprecated.

Use 'go install pkg@version' instead.

For more information, see https://golang.org/doc/go-get-install-deprecation

or run 'go help get' or 'go help install'.

teo-en-ming@ubuntu-2110:~$ go help get

usage: go get [-d] [-t] [-u] [-v] [build flags] [packages]


Get resolves its command-line arguments to packages at specific module versions,

updates go.mod to require those versions, downloads source code into the

module cache, then builds and installs the named packages.


To add a dependency for a package or upgrade it to its latest version:


go get example.com/pkg


To upgrade or downgrade a package to a specific version:


go get example.com/pkg@v1.2.3


To remove a dependency on a module and downgrade modules that require it:


go get example.com/mod@none


See https://golang.org/ref/mod#go-get for details.


The 'go install' command may be used to build and install packages. When a

version is specified, 'go install' runs in module-aware mode and ignores

the go.mod file in the current directory. For example:


go install example.com/pkg@v1.2.3

go install example.com/pkg@latest


See 'go help install' or https://golang.org/ref/mod#go-install for details.


In addition to build flags (listed in 'go help build') 'go get' accepts the

following flags.


The -t flag instructs get to consider modules needed to build tests of

packages specified on the command line.


The -u flag instructs get to update modules providing dependencies

of packages named on the command line to use newer minor or patch

releases when available.


The -u=patch flag (not -u patch) also instructs get to update dependencies,

but changes the default to select patch releases.


When the -t and -u flags are used together, get will update

test dependencies as well.


The -d flag instructs get not to build or install packages. get will only

update go.mod and download source code needed to build packages.


Building and installing packages with get is deprecated. In a future release,

the -d flag will be enabled by default, and 'go get' will be only be used to

adjust dependencies of the current module. To install a package using

dependencies from the current module, use 'go install'. To install a package

ignoring the current module, use 'go install' with an @version suffix like

"@latest" after each argument.


For more about modules, see https://golang.org/ref/mod.


For more about specifying packages, see 'go help packages'.


This text describes the behavior of get using modules to manage source

code and dependencies. If instead the go command is running in GOPATH

mode, the details of get's flags and effects change, as does 'go help get'.

See 'go help gopath-get'.


See also: go build, go install, go clean, go mod.

teo-en-ming@ubuntu-2110:~$ go install github.com/tomnomnom/assetfinder@latest

teo-en-ming@ubuntu-2110:~$ assetfinder

assetfinder: command not found

teo-en-ming@ubuntu-2110:~$ sudo find / -name assetfinder

find: ‘/run/user/1000/gvfs’: Permission denied

/root/go/pkg/mod/cache/download/github.com/tomnomnom/assetfinder

/root/go/bin/assetfinder

^C

teo-en-ming@ubuntu-2110:~$ echo $PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

teo-en-ming@ubuntu-2110:~$ sudo su

root@ubuntu-2110:/home/teo-en-ming# cd /root/go/bin

root@ubuntu-2110:~/go/bin# ls

assetfinder

root@ubuntu-2110:~/go/bin# cp assetfinder /usr/local/bin

root@ubuntu-2110:~/go/bin# exit

exit

teo-en-ming@ubuntu-2110:~$ pwd

/home/teo-en-ming

teo-en-ming@ubuntu-2110:~$ cd tools/Log4j-RCE-Scanner/

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ 


./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


teo-en-ming@ubuntu-2110:~$ cd tools/Log4j-RCE-Scanner/

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest

go: downloading github.com/projectdiscovery/subfinder/v2 v2.4.9

go: downloading github.com/projectdiscovery/subfinder v2.4.9+incompatible

go: downloading github.com/projectdiscovery/fdmax v0.0.3

go: downloading github.com/projectdiscovery/gologger v1.1.4

go: downloading github.com/hako/durafmt v0.0.0-20210316092057-3a2c319c1acd

go: downloading github.com/json-iterator/go v1.1.10

go: downloading github.com/projectdiscovery/dnsx v1.0.3

go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b

go: downloading golang.org/x/sys v0.0.0-20210419170143-37df388d1f33

go: downloading github.com/logrusorgru/aurora v2.0.3+incompatible

go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd

go: downloading github.com/modern-go/reflect2 v1.0.1

go: downloading github.com/miekg/dns v1.1.41

go: downloading github.com/projectdiscovery/retryabledns v1.0.12-0.20210419174848-eec3ac17d61e

go: downloading github.com/rs/xid v1.3.0

go: downloading github.com/corpix/uarand v0.1.1

go: downloading go.uber.org/ratelimit v0.2.0

go: downloading golang.org/x/net v0.0.0-20210415231046-e915ea6b2b7d

go: downloading github.com/projectdiscovery/chaos-client v0.1.8

go: downloading github.com/lib/pq v1.10.0

go: downloading github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80

go: downloading github.com/spyse-com/go-spyse v1.2.3

go: downloading github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129

go: downloading github.com/pkg/errors v0.9.1

go: downloading github.com/mitchellh/mapstructure v1.4.1

go: downloading golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac

golang.org/x/sys/internal/unsafeheader

golang.org/x/sys/unix

github.com/projectdiscovery/fdmax

github.com/projectdiscovery/fdmax/autofdmax

github.com/modern-go/concurrent

github.com/modern-go/reflect2

github.com/json-iterator/go

github.com/logrusorgru/aurora

github.com/projectdiscovery/gologger/levels

github.com/projectdiscovery/gologger/formatter

github.com/projectdiscovery/gologger/writer

github.com/projectdiscovery/gologger

github.com/hako/durafmt

golang.org/x/net/bpf

golang.org/x/net/internal/iana

golang.org/x/net/internal/socket

golang.org/x/net/ipv4

golang.org/x/net/ipv6

github.com/miekg/dns

github.com/projectdiscovery/retryabledns

github.com/projectdiscovery/dnsx/libs/dnsx

github.com/corpix/uarand

github.com/andres-erbsen/clock

go.uber.org/ratelimit

github.com/projectdiscovery/subfinder/v2/pkg/subscraping

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/alienvault

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/anubis

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/archiveis

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/binaryedge

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/bufferover

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/censys

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/certspotter

github.com/pkg/errors

github.com/projectdiscovery/chaos-client/pkg/chaos

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/chaos

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/chinaz

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/commoncrawl

github.com/lib/pq/oid

github.com/lib/pq/scram

github.com/lib/pq

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/crtsh

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/dnsdb

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/dnsdumpster

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/fofa

github.com/tomnomnom/linkheader

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/github

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/hackertarget

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/intelx

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/passivetotal

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/rapiddns

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/recon

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/riddler

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/robtex

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/securitytrails

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/shodan

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/sitedossier

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/sonarsearch

github.com/mitchellh/mapstructure

golang.org/x/time/rate

github.com/spyse-com/go-spyse/pkg

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/spyse

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/sublist3r

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/threatbook

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/threatcrowd

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/threatminer

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/virustotal

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/waybackarchive

github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/zoomeye

github.com/projectdiscovery/subfinder/v2/pkg/passive

github.com/rs/xid

github.com/projectdiscovery/subfinder/v2/pkg/resolve

gopkg.in/yaml.v3

github.com/projectdiscovery/subfinder/v2/pkg/runner

github.com/projectdiscovery/subfinder/v2/cmd/subfinder

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 ! Warning ! 

Using this feature requires special requirements. It has been detected that the requirements are not installed on your system. 


Please install these tools: 

subfinder 


More Info: https://github.com/adilsoybali/Log4j-RCE-Scanner#requirements 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ sudo find / -name subfinder

[sudo] password for teo-en-ming: 

find: ‘/run/user/1000/gvfs’: Permission denied

/home/teo-en-ming/go/pkg/mod/cache/download/sumdb/sum.golang.org/lookup/github.com/projectdiscovery/subfinder

/home/teo-en-ming/go/pkg/mod/cache/download/github.com/projectdiscovery/subfinder

/home/teo-en-ming/go/pkg/mod/github.com/projectdiscovery/subfinder

/home/teo-en-ming/go/pkg/mod/github.com/projectdiscovery/subfinder/v2@v2.4.9/cmd/subfinder

/home/teo-en-ming/go/bin/subfinder

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ cd ../../go/bin/

teo-en-ming@ubuntu-2110:~/go/bin$ ls

assetfinder  subfinder

teo-en-ming@ubuntu-2110:~/go/bin$ sudo cp subfinder /usr/local/bin

teo-en-ming@ubuntu-2110:~/go/bin$ cd ..

teo-en-ming@ubuntu-2110:~/go$ cd ..

teo-en-ming@ubuntu-2110:~$ cd tools/Log4j-RCE-Scanner/

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 Subfinder is working 



 Assetfinder is working 



 Amass is working 





[ DOMAIN ==> The httpx command line client could not run because the required dependencies were not installed. ] 

  Method 1 ==> X-Api-Version: running-Ldap-payload 

  Method 2 ==> Useragent: running-Ldap-payload 

  Method 3 ==> The httpx command line client could not run because the required dependencies were not installed./?test=running-Ldap-payload 


bash: line 1: unexpected EOF while looking for matching `}'

bash: line 2: syntax error: unexpected end of file

bash: line 1: unexpected EOF while looking for matching `}'

bash: line 2: syntax error: unexpected end of file

[ DOMAIN ==> Make sure you've installed everything with: pip install 'httpx[cli]' ] 

  Method 1 ==> X-Api-Version: running-Ldap-payload 

  Method 2 ==> Useragent: running-Ldap-payload 

  Method 3 ==> Make sure you've installed everything with: pip install 'httpx[cli]'/?test=running-Ldap-payload 


teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ 

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ 

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ 

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ pip install httpx

Requirement already satisfied: httpx in /home/teo-en-ming/.local/lib/python3.9/site-packages (0.21.1)

Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx) (1.5.0)

Requirement already satisfied: sniffio in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx) (1.2.0)

Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx) (2020.6.20)

Requirement already satisfied: httpcore<0.15.0,>=0.14.0 in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx) (0.14.3)

Requirement already satisfied: charset-normalizer in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx) (2.0.9)

Requirement already satisfied: h11<0.13,>=0.11 in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.0->httpx) (0.12.0)

Requirement already satisfied: anyio==3.* in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.0->httpx) (3.4.0)

Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio==3.*->httpcore<0.15.0,>=0.14.0->httpx) (2.10)

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ pip install httpxcli

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d8dc5f2e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/httpxcli/

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d8dc5f4f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/httpxcli/

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d8dc5f6a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/httpxcli/

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d8dc5f850>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/httpxcli/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d8dc5fa00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/httpxcli/

ERROR: Could not find a version that satisfies the requirement httpxcli

ERROR: No matching distribution found for httpxcli

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ pip install httpxcli

ERROR: Could not find a version that satisfies the requirement httpxcli

ERROR: No matching distribution found for httpxcli

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ pip install 'httpx[cli]'

Requirement already satisfied: httpx[cli] in /home/teo-en-ming/.local/lib/python3.9/site-packages (0.21.1)

Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx[cli]) (1.5.0)

Requirement already satisfied: httpcore<0.15.0,>=0.14.0 in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx[cli]) (0.14.3)

Requirement already satisfied: sniffio in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx[cli]) (1.2.0)

Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx[cli]) (2020.6.20)

Requirement already satisfied: charset-normalizer in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpx[cli]) (2.0.9)

Collecting pygments==2.*

  Downloading Pygments-2.10.0-py3-none-any.whl (1.0 MB)

     |████████████████████████████████| 1.0 MB 2.8 MB/s 

Collecting rich==10.*

  Downloading rich-10.16.1-py3-none-any.whl (214 kB)

     |████████████████████████████████| 214 kB 12.4 MB/s 

Collecting click==8.*

  Downloading click-8.0.3-py3-none-any.whl (97 kB)

     |████████████████████████████████| 97 kB 3.6 MB/s 

Collecting commonmark<0.10.0,>=0.9.0

  Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)

     |████████████████████████████████| 51 kB 2.9 MB/s 

Requirement already satisfied: colorama<0.5.0,>=0.4.0 in /usr/lib/python3/dist-packages (from rich==10.*->httpx[cli]) (0.4.4)

Requirement already satisfied: h11<0.13,>=0.11 in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.0->httpx[cli]) (0.12.0)

Requirement already satisfied: anyio==3.* in /home/teo-en-ming/.local/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.0->httpx[cli]) (3.4.0)

Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio==3.*->httpcore<0.15.0,>=0.14.0->httpx[cli]) (2.10)

Installing collected packages: pygments, commonmark, rich, click

  WARNING: The script pygmentize is installed in '/home/teo-en-ming/.local/bin' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

  WARNING: The script cmark is installed in '/home/teo-en-ming/.local/bin' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Successfully installed click-8.0.3 commonmark-0.9.1 pygments-2.10.0 rich-10.16.1

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 Subfinder is working 



 Assetfinder is working 



 Amass is working 


Usage: httpx [OPTIONS] URL


Error: No such option: -s

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ 


./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


teo-en-ming@ubuntu-2110:~$ ping www.google.com

PING www.google.com (74.125.24.104) 56(84) bytes of data.

64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=1 ttl=106 time=4.08 ms

64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=2 ttl=106 time=4.26 ms

64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=3 ttl=106 time=4.03 ms

64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=4 ttl=106 time=3.68 ms

64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=5 ttl=106 time=4.30 ms

64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=6 ttl=106 time=4.16 ms

^C64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=7 ttl=106 time=4.87 ms


64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=8 ttl=106 time=4.04 ms


64 bytes from sf-in-f104.1e100.net (74.125.24.104): icmp_seq=9 ttl=106 time=3.54 ms

^C

--- www.google.com ping statistics ---

9 packets transmitted, 9 received, 0% packet loss, time 8039ms

rtt min/avg/max/mdev = 3.539/4.106/4.868/0.358 ms

teo-en-ming@ubuntu-2110:~$ cd tools/Log4j-RCE-Scanner/

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 Subfinder is working 



 Assetfinder is working 



 Amass is working 


Usage: httpx [OPTIONS] URL


Error: No such option: -s

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ping www.google.com

ping: www.google.com: Temporary failure in name resolution

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

From 10.0.2.15 icmp_seq=1 Destination Host Unreachable

From 10.0.2.15 icmp_seq=2 Destination Host Unreachable

From 10.0.2.15 icmp_seq=3 Destination Host Unreachable

From 10.0.2.15 icmp_seq=4 Destination Host Unreachable

From 10.0.2.15 icmp_seq=5 Destination Host Unreachable

From 10.0.2.15 icmp_seq=6 Destination Host Unreachable

From 10.0.2.15 icmp_seq=7 Destination Host Unreachable

From 10.0.2.15 icmp_seq=8 Destination Host Unreachable

From 10.0.2.15 icmp_seq=9 Destination Host Unreachable

From 10.0.2.15 icmp_seq=10 Destination Host Unreachable

From 10.0.2.15 icmp_seq=11 Destination Host Unreachable

From 10.0.2.15 icmp_seq=12 Destination Host Unreachable

^C

--- 8.8.8.8 ping statistics ---

14 packets transmitted, 0 received, +12 errors, 100% packet loss, time 13311ms

pipe 4

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=3.28 ms

64 bytes from 8.8.8.8: icmp_seq=2 ttl=115 time=3.50 ms

64 bytes from 8.8.8.8: icmp_seq=3 ttl=115 time=3.43 ms

64 bytes from 8.8.8.8: icmp_seq=4 ttl=115 time=3.18 ms

^C

--- 8.8.8.8 ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3005ms

rtt min/avg/max/mdev = 3.178/3.343/3.496/0.124 ms

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ping www.google.com

PING www.google.com (74.125.130.104) 56(84) bytes of data.

64 bytes from sb-in-f104.1e100.net (74.125.130.104): icmp_seq=1 ttl=105 time=3.74 ms

64 bytes from sb-in-f104.1e100.net (74.125.130.104): icmp_seq=2 ttl=106 time=4.37 ms

64 bytes from sb-in-f104.1e100.net (74.125.130.104): icmp_seq=3 ttl=105 time=4.00 ms

64 bytes from sb-in-f104.1e100.net (74.125.130.104): icmp_seq=4 ttl=105 time=42.4 ms

^C

--- www.google.com ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3005ms

rtt min/avg/max/mdev = 3.740/13.636/42.438/16.629 ms

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ./log4j-rce-scanner.sh -d teo-en-ming-corp.com -b yrt45r4sjyoj19617jem5briio3cs.burpcollaborator.net


 Subfinder is working 



 Assetfinder is working 



 Amass is working 


Usage: httpx [OPTIONS] URL


Error: No such option: -s

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

From 10.0.2.15 icmp_seq=1 Destination Host Unreachable

From 10.0.2.15 icmp_seq=2 Destination Host Unreachable

From 10.0.2.15 icmp_seq=3 Destination Host Unreachable

From 10.0.2.15 icmp_seq=4 Destination Host Unreachable

From 10.0.2.15 icmp_seq=5 Destination Host Unreachable

From 10.0.2.15 icmp_seq=6 Destination Host Unreachable

From 10.0.2.15 icmp_seq=7 Destination Host Unreachable

From 10.0.2.15 icmp_seq=8 Destination Host Unreachable

From 10.0.2.15 icmp_seq=9 Destination Host Unreachable


--- 8.8.8.8 ping statistics ---

10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9116ms

pipe 3

teo-en-ming@ubuntu-2110:~/tools/Log4j-RCE-Scanner$ 


Mr. Turritopsis Dohrnii Teo En Ming, 43 years old as of 17 Dec 2021, is a TARGETED INDIVIDUAL living in Singapore. He is an IT Consultant with a Systems Integrator (SI)/computer firm in Singapore. He is an IT enthusiast.




REFERENCES

===========


[1] https://www.mail-archive.com/log4j-user@logging.apache.org/msg18047.html


[2] https://pastebin.com/raw/DdEfaPxJ



Comments

Popular posts from this blog

[24 Mar 2022 Thursday] Erectile Dysfunction and Viagra

[YOUTUBE] Mental illnesses were invented by governments to punish targeted individuals