Skip to content

Instantly share code, notes, and snippets.

@guim1111
guim1111 / getVulnConcurrence.py
Last active March 9, 2020 10:54
This script is for OpenVas to have ips affectef for each vuln, usefull if you need to write a report of large scans and need all ips and ports that have each vuln
#pip3 install pandas
#tested on ubuntu 18.04 python 3.7
#help from: https://beenje.github.io/blog/posts/parsing-html-tables-in-python-with-pandas/
#DESCRIPTION: with a file.html extracted from openvas with results, it show each vuln with assets that have,
#usefull for massive scans and need to write a report
#tip: use filter "rows=" at "Scans>Results" menu with a big number to be faster
#url example: https://<IP_OPENVAS>:9392/omp?cmd=get_results&filter=first=301 rows=200 severity>6.9 rows=200 first=101 sort=vulnerability min_qod=70 apply_overrides=1 autofp=0&token=XXXXXXXXXXXXXXXXXXXXXXX
#download (or copy) all content of page (like previous url) and put in a file that pass as argument
#python3 getVulnCoincidence.py ./file.html
@guim1111
guim1111 / registerIp.py
Last active December 18, 2019 10:29
For home, it can be usefull to get your external ip to get your services from internet to your home network, evrey time ip change, will send a email to previous configuration
#Auth
#python3.4 or newer
#use "screen python3 registerIp.py" for better experience then ctrl+a+d and 'screen -r' (see more screen linux command on google)
#to stop ctrl + c
#interesting url to develope this
#help from https://medium.com/greedygame-engineering/an-elegant-way-to-run-periodic-tasks-in-python-61b7c477b679 (but in python 2)
#if you want to mount your own server https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-16-04
#https://www.freecodecamp.org/news/send-emails-using-code-4fcea9df63f/
#
#This script is designed for who wants the external ip and send it with email. For who want to have services at home
@Neo23x0
Neo23x0 / fp-hashes.py
Last active March 10, 2020 14:25
Typical False Positive Hashes
# This GIST has been transformed into a Git repository and does not receive updates anymore
#
# Please visit the github repo to get a current list
# https://github.com/Neo23x0/ti-falsepositives/
# Hashes that are often included in IOC lists but are false positives
HASH_WHITELIST = [
# Empty file
'd41d8cd98f00b204e9800998ecf8427e',
'da39a3ee5e6b4b0d3255bfef95601890afd80709',