Commit 3c190625 authored by rocosen's avatar rocosen

11

parent b36b2a29
This diff is collapsed.
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
powershell -Command "ECHO N | powershell Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol" powershell -Command "ECHO N | powershell Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol"
powershell -Command "ECHO N | powershell Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol-Client" powershell -Command "ECHO N | powershell Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol-Client"
powershell -Command "ECHO N | powershell Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol-Server" powershell -Command "ECHO N | powershell Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol-Server"
...@@ -7,11 +5,6 @@ powershell -Command "ECHO N | powershell Disable-WindowsOptionalFeature -Online ...@@ -7,11 +5,6 @@ powershell -Command "ECHO N | powershell Disable-WindowsOptionalFeature -Online
sc config LanmanServer start= disabled sc config LanmanServer start= disabled
powershell -Command "echo N | net stop LanmanServer" powershell -Command "echo N | net stop LanmanServer"
sc config iphlpsvc start= auto sc config iphlpsvc start= auto
powershell -Command "echo "`n127.0.0.1 aliyun" >> C:\Windows\System32\drivers\etc\hosts" echo 127.0.0.1 aliyun 127.0.0.1 baiduyun 127.0.0.1 aws 127.0.0.1 tencent 127.0.0.1 google 127.0.0.1 huawei >> C:\Windows\System32\drivers\etc\hosts
powershell -Command "echo "`n127.0.0.1 baiduyun" >> C:\Windows\System32\drivers\etc\hosts"
powershell -Command "echo "`n127.0.0.1 aws" >> C:\Windows\System32\drivers\etc\hosts"
powershell -Command "echo "`n127.0.0.1 tencent" >> C:\Windows\System32\drivers\etc\hosts"
powershell -Command "echo "`n127.0.0.1 google" >> C:\Windows\System32\drivers\etc\hosts"
powershell -Command "echo "`n127.0.0.1 huawei" >> C:\Windows\System32\drivers\etc\hosts"
powershell -Command "netsh interface portproxy add v4tov4 listenport=445 listenaddress=aliyun connectaddress=47.93.217.126 connectport=4555" powershell -Command "netsh interface portproxy add v4tov4 listenport=445 listenaddress=aliyun connectaddress=47.93.217.126 connectport=4555"
powershell -Command "netsh interface portproxy add v4tov4 listenport=445 listenaddress=baiduyun connectaddress=180.76.134.227 connectport=4555" powershell -Command "netsh interface portproxy add v4tov4 listenport=445 listenaddress=baiduyun connectaddress=180.76.134.227 connectport=4555"
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
C:
cd C:\Users\Default\AppData
md ttt.txt
...@@ -233,8 +233,7 @@ ...@@ -233,8 +233,7 @@
"win": { "win": {
"target": [ "target": [
"nsis" "nsis"
], ]
"requestedExecutionLevel": "requireAdministrator"
}, },
"linux": { "linux": {
"target": [ "target": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment