1N3 / Sn1per

Attack Surface Management Platform
https://sn1persecurity.com
Other
7.94k stars 1.83k forks source link

Failed to upgrade from 2.9 to 3.0 #117

Closed gbiagomba closed 6 years ago

gbiagomba commented 6 years ago

I tried running sniper update and it failed, below is my text output. I will manually upgrade it but I thought I should let you know

root@GBiagomba-Kali:~# sniper


_________  /  _/___  ___  _____

/ / \ / // \/ \/ / ( ) / / // // // / / /
/_// /_/__/ ./__//
/_/

root@GBiagomba-Kali:~# sniper update


_________  /  _/___  ___  _____

/ / \ / // \/ \/ / ( ) / / // // // / / /
/_// /_/__/ ./__//
/_/

[] Checking for updates...[OK] [] Checking for active internet connection [OK] [i] Sn1per 3.0 is available to download...Do you want to update? (y or n) Y root@GBiagomba-Kali:~# sniper update


_________  /  _/___  ___  _____

/ / \ / // \/ \/ / ( ) / / // // // / / /
/_// /_/__/ ./__//
/_/

[] Checking for updates...[OK] [] Checking for active internet connection [OK] [i] Sn1per 3.0 is available to download...Do you want to update? (y or n) y Cloning into '/tmp/Sn1per'... remote: Counting objects: 755, done. remote: Compressing objects: 100% (4/4), done. remote: Total 755 (delta 0), reused 2 (delta 0), pack-reused 751 Receiving objects: 100% (755/755), 1.69 MiB | 5.33 MiB/s, done. Resolving deltas: 100% (437/437), done.


_________  /  _/___  ___  _____

/ / \ / // \/ \/ / ( ) / / // // // / / /
/_// /_/__/ ./__//
/_/

Creating config file /etc/idmapd.conf with new version Adding system user statd' (UID 139) ... Adding new userstatd' (UID 139) with group nogroup' ... Not creating home directory/var/lib/nfs'. update-rc.d: As per Kali policy, nfs-common init script is left disabled. nfs-utils.service is a disabled or a static unit, not starting it. Setting up theharvester (2.7-0kali1) ... Setting up clusterd (0.5-0kali2) ... Processing triggers for libc-bin (2.26-4) ... Processing triggers for systemd (236-3) ... Requirement already satisfied: dnspython in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: colorama in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: tldextract in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: urllib3 in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: requests in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from tldextract) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/dist-packages (from requests) Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests)

slurp.zip 100%[===================>] 7.98M 3.12MB/s in 2.6s

2018-01-24 14:40:03 (3.12 MB/s) - ‘slurp.zip’ saved [8370492/8370492]

Archive: slurp.zip creating: slurp/ inflating: slurp/LICENSE
inflating: slurp/README.md
inflating: slurp/permutations.json
inflating: slurp/slurp-linux-amd64
inflating: slurp/slurp-macos-amd64
inflating: slurp/slurp-windows-386.exe
--2018-01-24 14:40:03-- https://github.com/michenriksen/aquatone/blob/master/subdomains.lst Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘/usr/share/sniper/plugins/Sublist3r/subdomains.lst’

/usr/share/sniper/p [ <=> ] 129.31K --.-KB/s in 0.1s

2018-01-24 14:40:04 (956 KB/s) - ‘/usr/share/sniper/plugins/Sublist3r/subdomains.lst’ saved [1606539]

--2018-01-24 14:40:04-- https://raw.githubusercontent.com/1N3/IntruderPayloads/master/FuzzLists/dirbuster-quick.txt Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.20.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.20.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 19203 (19K) [text/plain] Saving to: ‘/usr/share/sniper/plugins/cansina/dirbuster-quick.txt’

/usr/share/sniper/p 100%[===================>] 18.75K --.-KB/s in 0.02s

2018-01-24 14:40:04 (1011 KB/s) - ‘/usr/share/sniper/plugins/cansina/dirbuster-quick.txt’ saved [66952]

--2018-01-24 14:40:04-- https://svn.nmap.org/nmap/scripts/http-vuln-cve2017-5638.nse Resolving svn.nmap.org (svn.nmap.org)... 45.33.49.119, 2600:3c01::f03c:91ff:fe98:ff4e Connecting to svn.nmap.org (svn.nmap.org)|45.33.49.119|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2578 (2.5K) [text/plain] Saving to: ‘/usr/share/nmap/scripts/http-vuln-cve2017-5638.nse’

/usr/share/nmap/scr 100%[===================>] 2.52K --.-KB/s in 0s

2018-01-24 14:40:05 (216 MB/s) - ‘/usr/share/nmap/scripts/http-vuln-cve2017-5638.nse’ saved [2578/2578]

--2018-01-24 14:40:05-- https://raw.githubusercontent.com/xorrbit/nmap/865142904566e416944ebd6870d496c730934965/scripts/http-vuln-INTEL-SA-00075.nse Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.20.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.20.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1419 (1.4K) [text/plain] Saving to: ‘/usr/share/nmap/scripts/http-vuln-INTEL-SA-00075.nse’

/usr/share/nmap/scr 100%[===================>] 1.39K --.-KB/s in 0s

2018-01-24 14:40:06 (21.5 MB/s) - ‘/usr/share/nmap/scripts/http-vuln-INTEL-SA-00075.nse’ saved [3902]

root@GBiagomba-Kali:~#

1N3 commented 6 years ago

Thanks, I will take a look. It may just be that the sniper script didn't get copied to /usr/bin for some reason..

1N3 commented 6 years ago

I believe this should be fixed now in 4.0. I did re-run sniper --update from 3.0 -> 4.0 and everything appears to have upgraded as expected on Kali 2.0. Closing out for now but let me know if you run into anything else.

gbiagomba commented 6 years ago

I still ran into this issue when upgrading to version 4.4 if memory serves me right.