HavocFramework / Modules

Modules used by the Havoc Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Situational Awareness BOFS [Please Close]

rafale0n opened this issue · comments

Thanks for the template for InlineExecute. Funnily enough I started expanding the framework yesterday and have mostly nailed down the function to pass to python scripting engine.

When passing the original script:

def arp( demonID, *param ):
    TaskID : str    = None
    demon  : Demon  = None

    demon  = Demon( demonID )
    TaskID = demon.ConsoleWrite(demon.CONSOLE_TASK, "Tasked demon to lists out ARP table")

    demon.InlineExecute( TaskID, "go", "Modules/SituationalAwareness/ObjectFiles/arp.x64.o", "", False )

    return TaskID

Havoc returns:

Traceback (most recent call last): File "<string>", line 48, in arp TypeError: argument 5 must be str, not bool

Changing the script to:

demon.InlineExecute( TaskID, "go", "Modules/SituationalAwareness/ObjectFiles/arp.x64.o", "", "" )

Fixes the problem. Will be happy to share the rest of the scripts with the community once finished.

NOTE: Ignore me, just pulled the latest version and it is working without any changes. Please close.