Skip to content

Instantly share code, notes, and snippets.

View R3DHULK's full-sized avatar
🏠
Working from home

Sumalya Chatterjee R3DHULK

🏠
Working from home
View GitHub Profile
@R3DHULK
R3DHULK / dns-enum.cpp
Created February 4, 2023 17:11
DNS Enumeration In CPP
#include <iostream>
#include <string>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cstring>
using namespace std;
@R3DHULK
R3DHULK / random-quote.py
Created February 4, 2023 17:54
Random Quote Generator In Python
import random
quotes = [
"70% watermelon is bigger than 100% grape",
"Talk less, Start Coding",
"Overnight Success remains thousand night failure's story",
"quote 4",
"quote 5"
]
@R3DHULK
R3DHULK / qr-code-scanner.py
Created February 10, 2023 06:49
QR Code Scanner In Python
#pip install cv2
#pip install numpy
import cv2
import numpy as np
def decode(im) :
# Find barcodes and QR codes
decodedObjects = cv2.QRCodeDetector().detectAndDecode(im)
@R3DHULK
R3DHULK / qr-code-gen.py
Created February 10, 2023 06:50
QR Code Generator
#pip install qrcode
import qrcode
def generate_qr_code(data, filename):
qr = qrcode.QRCode(
version=1,
box_size=10,
border=5
)
@R3DHULK
R3DHULK / web-vul-scan.py
Created February 10, 2023 15:08
Website Vulnerability Scanner In Python
#pip install portscanner
import portscanner
targets_ip = input('[+] * Enter Target To Scan For Vulnerable Open Ports: ')
port_number = int(input('[+] * Enter Amount Of Ports You Want To Scan (500 - First 500 Ports): '))
vul_file = input('[+] * Enter Path To The File With Vulnerable Softwares: ')
print('\n')
target = portscanner.portscan(targets_ip, port_number)
@R3DHULK
R3DHULK / dns-enum.py
Created February 10, 2023 15:26
DNS Enumeration Software In Python
import socket
def dns_enumeration(domain):
try:
# Get all DNS records for the domain
records = socket.getaddrinfo(domain, None)
print("[+] DNS Records for " + domain + ":")
for record in records:
print("[-] " + str(record[4][0]))
except Exception as e:
@R3DHULK
R3DHULK / dns-enum.c
Created February 10, 2023 15:33
DNS Enumeration In C
#include <stdio.h>
#include <netdb.h>
#include <arpa/inet.h>
int main(int argc, char *argv[]) {
if (argc < 2) {
printf("Usage: %s <domain>\n", argv[0]);
return 1;
}
@R3DHULK
R3DHULK / add-music script
Created February 10, 2023 15:36
Add Music In Your Website
// You can add a toggle button or a checkbox to your website that allows the user to enable or disable the audio. Here's an example using a toggle button:
<audio id="music" src="yourmusic.mp3"></audio>
<button id="toggleBtn">Toggle Music</button>
<script>
var audio = document.getElementById("music");
var toggleBtn = document.getElementById("toggleBtn");
audio.playbackRate = 0.5;
audio.play();
@R3DHULK
R3DHULK / whatsapp-dos.py
Created February 10, 2023 15:42
Whatsapp Message DOS Attack (Whatsapp Automation)
import pyautogui
import time
number_of_messages = int(input('\033[92m [*] Enter number of messages: '))
message_content = input('\033[92m [*] Enter message content: ')
time.sleep(3)
for num in range(number_of_messages):
pyautogui.write(message_content)
@R3DHULK
R3DHULK / php-vulscan.py
Created February 10, 2023 15:57
PHP Vulnerability Scanner In Python
import requests
print ('''\033[93m
**********************************************
* Simple PHP Vulnerability Scanner *
* github page : https://github.com/r3dhulk *
**********************************************
''')
def scan_vulnerabilities(url):