mstrch0c 2017-04-14 11:05:51 +02:00
commit bc8ff5f44a
6520 changed files with 426985 additions and 0 deletions

25
windows/RemoteDump.py Normal file
View file

@ -0,0 +1,25 @@
import os
import re
import sys
import time
port = ""
while (port == ""):
port = raw_input("Please enter the dump port: ")
try:
port = int(port)
break
except:
port = ""
pass
logDir = raw_input("Please enter the target log directory")
logFile = "%s/Dump-%d.txt" % (logDir, port)
cmd = "java -cp Resources/Dsz/Tools/java-j2se_1.5/FullThreadDump.jar FullThreadDump localhost:%d > %s" % (port, logFile)
os.system(cmd)
sys.exit(0)