Merge pull request #20 from peterferrie/master

not .2mg
This commit is contained in:
4am 2019-04-12 13:48:24 -04:00 committed by GitHub
commit 4c04f7f297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
a = new ActiveXObject("scripting.filesystemobject") a = new ActiveXObject("scripting.filesystemobject")
b = a.opentextfile(WScript.Arguments(0)) b = a.opentextfile(WScript.Arguments(0))
c = b.read(0x40)
b.skip(0x200) b.skip(0x200)
d = b.read(a.getfile(WScript.Arguments(0)).size-0x240) d = b.read(a.getfile(WScript.Arguments(0)).size-0x200)
b.close() b.close()
b=a.createtextfile(WScript.Arguments(0), 1).write(c+a.opentextfile(WScript.Arguments(1)).read(512)+d) b=a.createtextfile(WScript.Arguments(0), 1).write(a.opentextfile(WScript.Arguments(1)).read(512)+d)