咋不上天呢
1 subscriber
7 photos
18 videos
58 links
🐛🐤
Download Telegram
Forwarded from ,a aaa
咋不上天呢
订阅链导入自己选配置文件
改好了谢谢
Forwarded from Deleted Account
阿里和cloudflare 我都写过
const http = require("http")
const Mail = require("/home/ddns/mail")

const Core = require('@alicloud/pop-core');
var KeyId ='xxxxxxxxxx'
var KeySecret=""
var Domain
var Server_ip_port
class Ddns{
constructor(options) {
this.option= {
config: {
accessKeyId: KeyId,
accessKeySecret: KeySecret,
endpoint: 'https://alidns.aliyuncs.com',
apiVersion: '2015-01-09'
},
domain: "apitest",
ip: "1.1.1.1"
}
this.option={...this.option,...options}
this.domain_name = options.domain
this.ip = options.ip
this.type=options.type
console.log( "console.log(this.type)------------",this.type)
this.params = {
"DomainName": Domain,
"RR": this.domain_name,
"Type": options.ipv6 ? "AAAA" : "A",
"Value": options.ipv6 ? options.ipv6 : this.ip,
"Line":"default",
}
console.log("this.params------",this.params)
this.requestOption = {
method: 'POST'
}
this.client = new Core(this.option.config)
}
check(){
return new Promise((resolve, reject)=>{
this.client.request('DescribeDomainRecords', this.params, this.requestOption).then((result) => {
for (let i of result.DomainRecords.Record){
if(i.RR.includes(this.domain_name)){
this.params = {
"RecordId": i.RecordId,
"RR": this.domain_name,
"Type": "A",
"Value": this.ip
}
console.log(this.params)
if(i.Value===this.ip){
resolve("not")
return;
}
resolve(true)
return
}
};
resolve(false)
}, (ex) => {
console.log(ex);
})
})
}
run_api(command){
this.client.request(command, this.params, this.requestOption).then((result) => {
console.log(JSON.stringify(result));
}, (ex) => {
console.log(ex);
})
}
run_ddns(){
this.check().then(data=>{
if(data==="not"){
console.log("have a same ip")
return false
}
if(data){
console.log("modify")
this.run_api("UpdateDomainRecord")
return true
}else{
console.log("add")
this.run_api("AddDomainRecord")
return true
}
})
}
}
http.createServer((req,res)=>{
let url = new URL(Server_ip_port+req.url)
let prarment = url.searchParams

let ddnsData = {}
try {
Forwarded from Deleted Account
        ddnsData.domain = prarment.get("domain")
ddnsData.IP = res.connection.remoteAddress.split("f:")[1]
ddnsData.passwd = prarment.get("passwd")
//update ipv6
ddnsData.type = prarment.get("type")
ddnsData.IPv6=prarment.get("ipv6")
if(ddnsData.IPv6)ddnsData.IPv6=ddnsData.IPv6.split("/")[0]
console.log("type ------",ddnsData.type)
console.log("typeIPV6 ------",ddnsData.IPv6)
console.log(ddnsData)
if (ddnsData.passwd === "xxxxxx") {
console.log(`Ths user ${ddnsData.passwd} logined`)
console.log(`DNS will change IP is ${ddnsData.IP}, domain is ${ddnsData.domain}`)
let ddns = new Ddns({
domain: ddnsData.domain,
ip: ddnsData.IP,
type:ddnsData.type,
ipv6:ddnsData.IPv6
})
if(ddnsData.type==="AAAA"&&!ddnsData.IPv6)return
ddns.run_ddns()
let mail = new Mail("DDNS Server", JSON.stringify(ddnsData))
mail.send()
res.end('ok')
} else {
res.end("not")
}
}
catch (e){
console.log(e)
}

}).listen(12345)
有需要的拿去
Forwarded from Deleted Account
还带email 通知
Forwarded from 汤不热精选Ace
Media is too big
VIEW IN TELEGRAM
10074 这次回到乡下,最大的收获就是内射了暗恋已久的嫂子 #日本 #中文字幕
👉点我订阅完整视频👈
Forwarded from 汤不热精选Ace
This media is not supported in your browser
VIEW IN TELEGRAM
10074 这次回到乡下,最大的收获就是内射了暗恋已久的嫂子 #日本 #中文字幕
👉点我订阅完整视频👈
Forwarded from 汤不热精选Ace
This media is not supported in your browser
VIEW IN TELEGRAM
10074 这次回到乡下,最大的收获就是内射了暗恋已久的嫂子 #日本 #中文字幕
👉点我订阅完整视频👈
Forwarded from 汤不热精选Ace
This media is not supported in your browser
VIEW IN TELEGRAM
10078 在路边旅馆的阳台上做爱,看着楼下来往的行人和车辆,实在是太刺激了 #欧美
👉点我订阅完整视频👈
Forwarded from 汤不热精选Ace
This media is not supported in your browser
VIEW IN TELEGRAM
10078 在路边旅馆的阳台上做爱,看着楼下来往的行人和车辆,实在是太刺激了 #欧美
👉点我订阅完整视频👈
Forwarded from 汤不热svip
Media is too big
VIEW IN TELEGRAM
S0659 和往日一样,上门给顾客做按摩,可是今天开门的女人却让我惊呆了,我永远忘不了,几年前她在公司里嚣张跋扈,一顿辱骂把我开除了。想到这里,一个复仇计划在我心里慢慢浮现... #日本 #中文字幕
更多类似视频
👉点我订阅 SVIP 完整视频👈
【阿里云】容器镜像服务ACR加速器功能变更通知
尊敬的xxxxxxxx:
您好,为进一步规范镜像加速器工具的使用,容器镜像服务ACR计划于2024年07月15日起陆续对镜像加速器功能进行相应的调整。具体变更内容如下:

1、调整镜像加速器功能的受众范围,仅限阿里云用户在具备公网访问能力的相关阿里云云产品资源上使用该能力。
2、仅支持通过镜像加速器拉取一定限定范围内的容器镜像。

*请及时关注本次产品变更内容,以免影响您的后续使用。如您有任何问题,可随时通过工单或者服务热线与我们联系。
最后一个 Typora 免费版 0.11.18


一款轻便简洁的 Markdown 编辑器,支持即时渲染技术,
Typora 是一个所见即所得的 Markdown 跨平台写作工具,目前已经发布正式版,并且更改为付费模式,0.11.18_beta 是最后一个免费的测试版,有需要的可以选择下载。
官网 https://typora.io/
中文站 https://typoraio.cn/

Windows 用户下载地址:
https://github.com/iuxt/src/releases/download/2.0/typora-0-11-18.exe
Mac 用户下载地址:
https://github.com/iuxt/src/releases/download/2.0/typora-0-11-18.dmg
Ubuntu 用户下载地址:
https://github.com/iuxt/src/releases/download/2.0/Typora_Linux_0.11.18_amd64.deb
其他 Linux 用户(非 debian 系)下载地址:
https://github.com/iuxt/src/releases/download/2.0/typora-0-11-18.tar.gz

频道 @JustReformation
Forwarded from 汤不热精选Ace
This media is not supported in your browser
VIEW IN TELEGRAM
10762 不同姿势探索白虎女友的紧致蜜穴 #欧美
👉点我订阅Ace完整视频👈
Forwarded from Andy xu
Forwarded from Andy xu
这个变量填什么啊
Forwarded from Andy xu
求教
Forwarded from 永远吃不饱🤤
就这样填啊