Skip to content

Instantly share code, notes, and snippets.

@ttttmr
ttttmr / doc.md
Last active December 30, 2020 13:53
获取文章标题
#!/bin/sh -e
if [ $# != 3 ]
then
echo "usage: $0 <src-port> <dst-host> <dst-port>"
exit 0
fi
TMP=`mktemp -d`
BACK=$TMP/pipe.back
@ttttmr
ttttmr / fcgi_jailbreak.php
Last active June 12, 2019 16:48 — forked from wofeiwo/fcgi_jailbreak.php
Jail break for PHP 5.3.3+ FASTCGI
<?php
/**
* PHP 5.3.3+ FASTCGI jailbreak
*
* @author wofeiwo <wofeiwo#80sec.com>
* @date 2013-01-23
* @version 1.0
* @reference https://bugs.php.net/bug.php?id=64103
* @reference http://www.wooyun.org/bugs/wooyun-2013-018116 (Chinese)
* @note disable php security settings, but can't overwrite disable_function/disable_classes.
@ttttmr
ttttmr / RSS_to_Clipboard.js
Last active June 8, 2019 10:44
一键复制RSS,相关:一键订阅到Inoreader https://gist.github.com/ttttmr/577acf8a7ddf97c8972a6132a15e238a
javascript: (function () {
let rsshub_host = 'https://rsshub.app';
let lilydjwg_host = 'https://rss.lilydjwg.me';
let cnblog = 'https://www.cnblogs.com/';
let csdn = 'https://blog.csdn.net/';
let feed43 = 'https://feed43.com';
let jianshu_user = '/jianshu/user/';
let zhihu_user = '/zhihu/people/activities/';
let zhihu_zhuanlan = '/zhihu/zhuanlan/';
@ttttmr
ttttmr / RSS_to_Inoreader.js
Last active March 6, 2023 17:02
一键订阅到Inoreader,相关:一键复制RSS https://gist.github.com/ttttmr/d44e40e92abb4966edcdee2e09fe8ffc
javascript: (function () {
let rsshub_host = 'https://rsshub.app';
let cnblog = 'https://www.cnblogs.com/';
let csdn = 'https://blog.csdn.net/';
let jianshu_user = '/jianshu/user/';
let zhihu_user = '/zhihu/people/activities/';
let zhihu_collection = '/zhihu/collection/';
let bilibili_user = '/bilibili/user/video/';
let jike_topic = '/jike/topic/';