Skip to content

Commit 85da472

Browse files
authored
fix ysoserialPath
fix ysoserialPath
1 parent 8a63c4e commit 85da472

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def addYsoPaylod(username,yso_type,command):
191191
if 'config' in data:
192192
config_data = data['config']
193193
if 'ysoserialPath' in config_data:
194-
ysoserial_path = config_data['javaBinPath']
194+
ysoserialPath = config_data['ysoserialPath']
195195
if 'javaBinPath' in config_data:
196196
javaBinPath = config_data['javaBinPath']
197197
if 'fileOutputDir' in config_data:
@@ -228,4 +228,4 @@ def addYsoPaylod(username,yso_type,command):
228228
print("Load %d Default Files :%s" % (len(defaultFiles),defaultFiles))
229229
print("Start Server at port 3306")
230230
loop.run_until_complete(f)
231-
loop.run_forever()
231+
loop.run_forever()

0 commit comments

Comments
 (0)