-
Notifications
You must be signed in to change notification settings - Fork 171
Only output 3 argments when running the .bat file in windows10 1909 running on VMware 14 #5
Comments
The batch script requires an internet connection to download symbols. I'm not sure what else can cause it to fail (any error messages?), but as a workaround you can copy the relevant files from the guest to the host and run the script on the copied files by adjusting the paths everywhere you see |
Remove the following part that appears twice in the batch file: |
Well, I put a " " in the name of .bat, and directly double-clicked the script, and it output all the five arguments! Seems really weird, because when I tried to use cmd line to open the script, it just output three arguments. And before this quote, I tried to directly open it by double-click, but it just show and shut down immediately. And when I replaced the offsets in the SMBleedingGhost.py, and ran it, then it just succeeded. LOTS OF THANKS! |
I'm glad that it works. Still, if you can reproduce the issue and remove the part that I mentioned, perhaps we can see what went wrong. Then I'll be able to fix it for other users. |
The two symbols that failed to load are the one that require symbols. Try the following: add the following lines at the beginning of the batch file, run it, and post the contents of the newly created
|
Here is what I got in guest.
|
From the log:
So for some reason, guest failed to download from: Somebody on Stack Overflow suggests it can be caused by a mis-configured IE. |
I have seen the issue mentioned in stackoverflow. But, my IE browser could really connect Internet,and
You are right. Though I can connect Internet with my IE, but I just can't connect the sites you posted. |
hello, I got the same question with yours. The script could output 5 arguments in real host win10, but only 3 in VM target win 10, how do you fix this problem? |
I just copy the system32 files of my guest to my host. And modify the address in the batch file as mentioned above. |
bat file not work: OFFSETS = { # |
I can get all the argments needed on my own windows10, but only 3 on target Windows 10. The three argments are '''srvnet!imp_IoSizeofWorkItem''','''srvnet!imp_RtlCopyUnicodeString''' and '''nt!IoSizeofWorkItem'''.
I also tried adding the rest two argments copied from my local real windows to SMBleedingGhost.py, but when I ran the script, the virtual windows10 would soon got a bluescreen.
So I'm just wonderring what's going on.
I'll be really grateful for your quick response!
The text was updated successfully, but these errors were encountered: