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 ctypes import CDLL | |
libc = CDLL("libc.so.6") | |
now = int(floor(time.time())) | |
libc.srand(now) | |
print(libc.rand()) |
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
class R2: | |
def __init__(self, file_path, args=[], debug=False): | |
self._r = r2pipe.open(file_path, args) | |
self._debug = debug | |
def cmd(self, cmd, debug=True): | |
if self._debug and debug: | |
print(f"Executing command: '{cmd}'") | |
res = self._r.cmd(cmd).rstrip("\n") | |
if self._debug and debug: |
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
const puppeteer = require('puppeteer'); | |
const Jimp = require("jimp"); | |
const DEBUG = false; | |
const URL = "https://plaidctf.com/files/css.74486b61b22e49b3d8c5afebee1269e37b50071afbf1608b8b4563bf8d09ef92.html" | |
const minimal_args = [ | |
'--autoplay-policy=user-gesture-required', | |
'--disable-background-networking', | |
'--disable-background-timer-throttling', |
This file has been truncated, but you can view the full file.
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> | |
int main() | |
{ |
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
@echo off | |
echo Virtualization must be disabled to use anti-cheat clients like FACEIT and ESEA | |
echo. | |
net session >nul 2>&1 | |
if %ERRORLEVEL% EQU 0 goto :chchchchoices | |
echo This script requires elevated privileges. Re-run as Administrator to continue | |
goto :exit | |
:chchchchoices |
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
# Set these options in your config.fish (if you want to :]) | |
# | |
# set -g theme_display_user yes | |
# set -g theme_hostname never | |
# set -g theme_hostname always | |
# set -g default_user your_normal_user | |
# Backward compatibility |
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
function prompt_virtual_env -d "Display Python virtual environment" | |
if test "$VIRTUAL_ENV" | |
prompt_segment white black (eval (echo $VIRTUAL_ENV/bin/python --version) 2>&1 | sed 's/Python /Py|/g') | |
end | |
end |
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
# ~/.zim/modules/prompt/external-themes/lean/lean.plugin.zsh | |
# lean prompt theme | |
# by Miek Gieben: https://github.com/miekg/lean | |
# | |
# Based on Pure by Sindre Sorhus: https://github.com/sindresorhus/pure | |
# Colors used: (see Vim's iceberg theme) | |
# 242 is the gray that is used. | |
# 110 is the blue. | |
# 150 is the yellow. | |
# |
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
nmapFast() { | |
if [[ -z $1 ]] ; then | |
echo "USAGE: nmapFast IP/Domain" | |
return | |
fi | |
item=$1 | |
item2=$(echo -ne $item|tr '/' '_') | |
echo " +++ " |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Exploit</title> | |
</head> | |
<body> | |
<script> |
NewerOlder