Scripts are tools, not the goal. What actually determines results:
- How deeply you understand the application's flow
package main
import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"net/http"
"os"(function () {
const suspiciousSources = [
'location',
'location.href',
'location.search',
'document.URL',
'document.documentURI',
'document.referrer'
];(async function () {
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
const clickMuteButton = async () => {
const replies = document.querySelectorAll('[data-testid="tweet"]');
for (const reply of replies) {
const blueCheck = reply.querySelector('svg[aria-label="Verified account"]');
if (blueCheck) {
const moreOptionsButton = reply.querySelector('[aria-label="More"]');
if (moreOptionsButton) {| const startDate = new Date('2022-01-01'); | |
| const endDate = new Date('2023-01-01'); | |
| const waitForElemToExist = async (selector, timeout = 5000) => { | |
| return new Promise((resolve) => { | |
| const element = document.querySelector(selector); | |
| if (element) return resolve(element); | |
| const observer = new MutationObserver(() => { | |
| const element = document.querySelector(selector); |
Date: August 13, 2024
Pentester: Eno Leriand
#!/bin/bash
# Variables
HOSTAPD_CONF="/tmp/evil_twin/hostapd.conf"
DNSMASQ_CONF="/tmp/evil_twin/dnsmasq.conf"
PHISHING_PAGE_DIR="/tmp/evil_twin/www"
PHISHING_PAGE="$PHISHING_PAGE_DIR/index.html"
CAPTURE_FILE="/tmp/evil_twin/capture.txt"
HOTSPOT_IP="192.168.20.1"
| #!/bin/bash | |
| battery_status=$(acpi | awk '{print $3}') | |
| battery_percentage=$(acpi | awk '{print $4}' | sed 's/,//') | |
| if [ "$battery_status" == "Discharging," ]; then | |
| icon="π" | |
| else | |
| icon="π" |