% Title % Name % Date
List
// List of domains bind to your WorkersProxy. | |
const domain_list = ['https://你的cloudflareWorker应用地址/'] | |
// Website you intended to retrieve for users. | |
const upstream = 'https://需要加速的网站的地址/' | |
// Website you intended to retrieve for users using mobile devices. | |
const upstream_mobile = 'https://需要加速的网站移动端的地址/' | |
// Countries and regions where you wish to suspend your service. |
addEventListener('fetch', event => { | |
event.respondWith(proxyRequest(event.request)) | |
}) | |
/** | |
* Respond to the request | |
* @param {Request} request | |
*/ | |
async function proxyRequest(request) { |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# author: tennc | |
# date: 2019年9月23日 | |
import sys | |
import base64 | |
import requests | |
# url = str(sys.argv[1]) |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# author: tennc | |
# date: 2019年9月23日 | |
import sys | |
import base64 | |
import requests | |
# url = str(sys.argv[1]) |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# author: tennc | |
# date: 2019年9月23日 | |
import sys | |
import base64 | |
import requests | |
# url = str(sys.argv[1]) |
POST /struts2-rest-showcase/orders/3;jsessionid=A82EAA2857A1FFAF61FF24A1FBB4A3C7 HTTP/1.1 | |
Host: 127.0.0.1:8080 | |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0 | |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 |
#!/bin/sh | |
METASPLOIT_BASEDIR=/opt/metasploit-framework | |
DB_CONF=$METASPLOIT_BASEDIR/config/database.yml | |
DB_NAME=msf | |
DB_USER=msf | |
DB_PORT=5432 | |
PG_SERVICE=postgresql |
#!/usr/bin/env python3 | |
# -*- coding : utf-8 -*- | |
# author: tennc | |
# date: 2016/3/20 | |
# filename: paer.py | |
# 检测一推二级域名200状态,并且爬出名称保存 | |
# url.txt 为二级域名保存文件,save.txt为结果文件。 | |
# The MIT License | |
# NAME | |
# Copyright (c) 2015 |
#!/usr/bin/env python | |
# encoding: utf-8 | |
# author: tennc | |
# date: 2015-06-29 | |
# use: python wyspider_dy.py xxx.txt | |
import os | |
import sys | |