Wednesday, January 31, 2018

Bulk IP CIDR to IP list converter,

This is useful for OpenVAS
https://www.cidrcalculator.com/ipv4/cidr-to-ip-list-bulk.html?lang=en

Can't connect to OPENVAS from external network. Fix



/lib/systemd/system/greenbone-security-assistant.service

changed --listen=127.0.0.1 to --listen=0.0.0.0 
then after changing and saving

Stop and start Openvas service.

Nesuss Excluding list of IP from scan

Recently I found that I need to exclude some IPs from scan.
As I did it in windows :

In the c:\ProgramData\Tenable\Nessus\conf\nessusd.rules


# Target Syntax: accept|reject address/netmask:port[-port_max]
#
# Reject any target on 10.42.***
 reject 65.132.***
 reject 50.233.***
 reject 96.93.***
 reject 216.174.***


As this IPs were in the different places subnets, i used this way. May be there is different and better way.

Fixing connection to Internet for Kali linux on VMWare

When I was trying to connect KALI VM to the network with "BRIDGET" network settings I found that cannot get on Internet, my update upgrade not worked and I got some different errors as :

Cannot apt-get update. Err:1 http://http.kali.org/kali kali-rolling InRelease

- Unable to locate Package

Here is summary of troubleshooting 

1) Check DNS server, I'm using 8.8.8.8
2) Check if  /etc/apt/sources.list  have record   and it is deb http://http.kali.org/kali kali-rolling main contrib non-free  and it is non commented.
3)  On VM Edit>Virtual Network Editor  use Restore Defaults buttons ( as admin).
4) On Virutal Network Editor check dropdown menu if it is bridget to the proper interface