Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
netdisc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rocosen
netdisc
Commits
3c190625
Commit
3c190625
authored
Oct 10, 2022
by
rocosen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
b36b2a29
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
README.md
README.md
+0
-0
init.bat
assets/bat/init.bat
+1
-8
ooo.bat
assets/bat/ooo.bat
+7
-0
package.json
package.json
+1
-2
No files found.
README.md
View file @
3c190625
This diff is collapsed.
Click to expand it.
assets/bat/init.bat
View file @
3c190625
%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"
assets/bat/ooo.bat
0 → 100644
View file @
3c190625
%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
package.json
View file @
3c190625
...
@@ -233,8 +233,7 @@
...
@@ -233,8 +233,7 @@
"win"
:
{
"win"
:
{
"target"
:
[
"target"
:
[
"nsis"
"nsis"
],
]
"requestedExecutionLevel"
:
"requireAdministrator"
},
},
"linux"
:
{
"linux"
:
{
"target"
:
[
"target"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment