minor logging output
parent
a3ba591077
commit
a628370365
|
@ -99,9 +99,11 @@ def sins():
|
||||||
lineage += 1
|
lineage += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
logger.debug(f'result: {result}, {len(scrap)}')
|
|
||||||
|
|
||||||
opcodes = objdump(scrap)
|
opcodes = objdump(scrap)
|
||||||
|
ops_count = opcodes.count('\n')
|
||||||
|
|
||||||
|
logger.debug({'result': result, 'ops': ops_count})
|
||||||
|
|
||||||
scrap = growth(shellcode=scrap, objdump=opcodes)
|
scrap = growth(shellcode=scrap, objdump=opcodes)
|
||||||
|
|
||||||
parent = ScrapNode(child=scrap, parent_id=parent.id)
|
parent = ScrapNode(child=scrap, parent_id=parent.id)
|
||||||
|
@ -109,5 +111,5 @@ def sins():
|
||||||
session.add(parent)
|
session.add(parent)
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
logger.info(f'scrap:\n{parent}')
|
logger.info(parent)
|
||||||
lineage = 0
|
lineage = 0
|
||||||
|
|
Loading…
Reference in New Issue