Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Bug Fixed - Bad Character Error : Invalid bad character detected. #9

@b3mb4m

Description

@b3mb4m

C:\Users\r00t\Desktop\Veil-Ordnance-master\Veil-Ordnance-master>python Veil-Ordnance.py -p rev_https --ip 192.168.63.149 --port 443 -e xor -b \x00

[*] Bad Character Error: Invalid bad character detected.
[*] Bad Character Error: Please provide bad characters in \x00\x01... format.

Ref : https://www.veil-framework.com/veil-ordnance-fast-shellcode-generation/

So .. after little research i figure out what's the problem.Problem is related "split" raw strings, when you split 'x' on badchar list will working like that;

bad_characters = bad_characters.split('x')
print bad_characters
//['\\', '00'] <-- backslash allways be there, that's the problem of fail.

I did change it like this and its work now,

bad_characters = bad_characters.split ("\\x")
bad_characters = bad_characters[1:]

-Tested on windows 7
-File : xor.py [line 70]

Cheers :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions