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
#!/bin/bash | |
# CHANGE THESE | |
auth_email="" #你的CloudFlare注册账户邮箱,your cloudflare account email address | |
auth_key="" #你的cloudflare账户Globel ID ,your cloudflare Globel ID | |
zone_name="xxx.com" #你的域名,your root domain address | |
record_name="ddns.xxx.com" #完整域名,your full domain address | |
record_type="AAAA" #A or AAAA,ipv4 或 ipv6解析 | |
ip_index="local" #use "internet" or "local",使用本地方式还是网络方式获取地址 |
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
入门指南 | |
https://wizardforcel.gitbooks.io/web-hacking-101/content/ Web Hacking 101 中文版 | |
https://wizardforcel.gitbooks.io/asani/content/ 浅入浅出Android安全 中文版 | |
https://wizardforcel.gitbooks.io/lpad/content/ Android 渗透测试学习手册 中文版 | |
https://wizardforcel.gitbooks.io/kali-linux-web-pentest-cookbook/content/ Kali Linux Web渗透测试秘籍 中文版 | |
https://github.com/hardenedlinux/linux-exploit-development-tutorial Linux exploit 开发入门 | |
https://www.gitbook.com/book/t0data/burpsuite/details burpsuite实战指南 | |
http://www.kanxue.com/?article-read-1108.htm=&winzoom=1 渗透测试Node.js应用 | |
https://github.com/qazbnm456/awesome-web-security Web安全资料和资源列表 |
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
package main | |
import ( | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net" | |
"net/http" |
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
package main | |
import ( | |
"bufio" | |
"encoding/json" | |
"flag" | |
"fmt" | |
"io" | |
"net" | |
"net/http" |
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
proxy_cache_path /tmp/cache levels=1:2 keys_zone=cache_one:10m inactive=360m; | |
upstream backend { | |
least_conn; | |
# 使用最小连接数策略,即最低延迟 | |
server 89.117.59.72:443; | |
server [2a02:c206:2111:7389::1]:443; | |
} | |
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; |
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
// Cloudflare Worker Sandbox Examples | |
// Learning here, not intended for production use. | |
// https://cloudflareworkers.com/#6bc84bcddcf251074b41adba568a9284:https://tutorial.cloudflareworkers.com | |
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)); | |
}) | |
/** |
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 telethon.tl.types import DocumentAttributeFilename | |
import os | |
async def download_csv_files(client, entity): | |
messages = await client.get_messages(entity, limit=None) | |
for message in messages: | |
if hasattr(message, 'media') and message.media: # Check if the message has media | |
media = message.media | |
if hasattr(media, 'document') and media.document: # Check if the media is a document | |
document = media.document |
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
<html> | |
<head> | |
<title>Video Streaming</title> | |
<meta charset="UTF-8" /> | |
</head> | |
<body> | |
<video id="video" controls></video> | |
<div id="modal"><span id="errorText">error!</span></div> | |
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 ghcr.io/3kmfi6hp/argo-airport-paas: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
export default { | |
async fetch(request, env) { | |
let url = new URL(request.url); | |
if (url.pathname.startsWith('/')) { | |
url.hostname="huggingface-node.pages.dev"; | |
let new_request=new Request(url,request); | |
return fetch(new_request); | |
} | |
// Otherwise, serve the static assets. | |
return env.ASSETS.fetch(request); |
NewerOlder