If your Kali Linux Virtual Machine not accepting bridged connection from VMWare Workstation
1) Stop Virtual machine.
2) Run VMWare Workstation as admin
3) Open Virtual Network Editor. Edit --- Virtual Network Editor
4) Remove network VMnet0
5) Add Network VMnet0
6) Restart VMWare Workstation
7) Start guest and reset connection
Sunday, May 20, 2018
Thursday, April 26, 2018
Convert DNS name to IP address in bulk text file
Just really useful script
https://gallery.technet.microsoft.com/scriptcenter/Convert-DNS-name-to-IP-e74f8b01
https://gallery.technet.microsoft.com/scriptcenter/Convert-DNS-name-to-IP-e74f8b01
foreach ($computer in (get-content C:\computers.txt)) { Try{ [system.net.Dns]::GetHostAddresses($computer) | Foreach-Object { add-content -path C:\computersips.txt -value "$computer,$($_.IPAddressToString)" } } Catch { add-content -path C:\computersips.txt -value "$computer,Cannot resolve hostname" } }
Nmap result parser to CVE. Simple Nmap Parser
Found this little gem for parsing nMap result for reports.
Simple Nmap Parser
https://www.hackwhackandsmack.com/?p=441
Simple Nmap Parser
https://www.hackwhackandsmack.com/?p=441
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
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 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
Subscribe to:
Posts (Atom)