Skip to content

Instantly share code, notes, and snippets.

@erev0s
erev0s / synonyms.py
Created November 2, 2018 15:16
small thing to change into synonyms the words of a text
import thesaurus as th
wordlist = []
with open('test.txt') as f:
wordlist = ([word for line in f for word in line.split()])
changedw = []
for word in wordlist:
tmpword = th.Word(word).synonyms(relevance=3)
if not tmpword:
@erev0s
erev0s / verbtamp.sh
Created September 6, 2018 16:02
http verb tampering check, you can use it like ===> ./verbtamp.sh http://google.com
#!/bin/bash
for method in GET HEAD POST PUT DELETE CONNECT OPTIONS TRACE; do
echo curl -v -X $method $1
done
@erev0s
erev0s / defineos.sh
Created August 5, 2018 11:31
commands to define the linux operating system you are on
#for debian systems try
cat /etc/*_version
#for red hat based
cat /etc/*-release
#other possibilities that work in multiple ones
cat /etc/os-release
lsb_release -a
hostnamectl