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
#include <iostream> | |
#include <string> | |
#include <netdb.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <cstring> | |
using namespace std; |
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 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" | |
] |
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
#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) | |
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
#pip install qrcode | |
import qrcode | |
def generate_qr_code(data, filename): | |
qr = qrcode.QRCode( | |
version=1, | |
box_size=10, | |
border=5 | |
) |
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
#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) |
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 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: |
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
#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; | |
} |
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
// 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(); |
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 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) |
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 requests | |
print ('''\033[93m | |
********************************************** | |
* Simple PHP Vulnerability Scanner * | |
* github page : https://github.com/r3dhulk * | |
********************************************** | |
''') | |
def scan_vulnerabilities(url): |