Skip to content

Instantly share code, notes, and snippets.

View Mr-xn's full-sized avatar
☯️
混沌初开

东方有鱼名为咸 Mr-xn

☯️
混沌初开
View GitHub Profile
@Mr-xn
Mr-xn / macro.php
Created July 4, 2021 06:54 — forked from digininja/macro.php
Sample code to go with the Burp Macro blog post at https://digi.ninja/blog/burp_macros.php
<?php
session_start();
$message = "";
if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (array_key_exists ("token", $_POST) && array_key_exists ("token", $_SESSION)) {
if (array_key_exists ("token", $_SESSION)) {
if ($_POST['token'] == $_SESSION['token']) {
$message = "Success";
@Mr-xn
Mr-xn / supervisord.sh
Created May 8, 2018 13:33 — forked from danmackinlay/supervisord.sh
an init.d script for supervisord
#! /bin/sh
### BEGIN INIT INFO
# Provides: supervisord
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
@Mr-xn
Mr-xn / shapeshifter.html
Created December 13, 2016 03:07 — forked from iblh/shapeshifter.html
Shape Shifter
<!DOCTYPE html>
<!-- saved from url=(0028)https://hacpai.com/halt.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发现一个问题</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="https://hacpai.com/$%7BstaticServePath%7D/images/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<style>
html {