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
[Desktop Entry] | |
Version=5.1 | |
Name=Whatsapp By Xnuvers007 | |
Type=Application | |
Exec='/usr/local/bin/whatsdesk.sh' | |
Icon=/path/to/image | |
StartupNotify=true | |
Terminal=false | |
file whatsdesk.sh like this |
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
-- vim: ts=4 sw=4 noet ai cindent syntax=lua | |
--[[ | |
Conky, a system monitor, based on torsmo | |
Any original torsmo code is licensed under the BSD license | |
All code written since the fork of torsmo is licensed under the GPL | |
Please see COPYING for details |
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
# This is a simple code for check broken link with python | |
# Usage --url https://google.com or -u https;//google.com | |
import requests | |
from bs4 import BeautifulSoup | |
import threading | |
import argparse |
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 | |
from urllib.parse import urljoin | |
def get_redirected_url(url): | |
response = requests.head(url, allow_redirects=True) | |
return response.url | |
def get_all_links(url): |
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
from flask import Flask, request, send_from_directory, jsonify, redirect, url_for | |
from html2image import Html2Image | |
import os | |
from threading import Timer | |
from urllib.parse import urlparse | |
app = Flask(__name__) | |
# Configure Html2Image with custom flags | |
hti = Html2Image(output_path='output/', |
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
from requests_html import HTMLSession | |
from bs4 import BeautifulSoup | |
website = input("Enter the website to check for clickjacking vulnerability: ") | |
url = 'https://clickjacker.io/test?url={website}'.format(website=website) | |
session = HTMLSession() | |
response = session.get(url) | |
response.html.render(sleep=3, timeout=20) |
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 os | |
try: | |
import requests | |
from bs4 import BeautifulSoup | |
except ImportError: | |
print("Required packages not found. Attempting to install them.") | |
try: | |
os.system("pip install requests beautifulsoup4") | |
print("Packages installed successfully.") |
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 axios from 'axios'; | |
const url = 'https://raw.githubusercontent.com/BochilTeam/database/master/games/tebakgambar.json'; | |
axios.get(url) | |
.then(response => { | |
const data = response.data; | |
// Generate a random index between 0 and 999 | |
const randomIndex = Math.floor(Math.random() * 1000); |
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
from flask import Flask, request, jsonify | |
import requests, random, time | |
from bs4 import BeautifulSoup | |
from fake_useragent import UserAgent | |
app = Flask(__name__) | |
user_agent = UserAgent() | |
random_user_agent = user_agent.random |
OlderNewer