Hi All,
Currently I am trying to create a signature and add it to database using androcsign. I took a look to the signature classes_tc.sign in /tools/androguard/examples/obfu and I would like to know what does L mean in "Lorg/t0t0/androguard/TC/TCMod1;". I just noticed that I can add this signature to the database if I keep L and if I remove it ( i.e., using "org/t0t0/androguard/TC/TCMod1;" instead of "Lorg/t0t0/androguard/TC/TCMod1;") I get the error below:
-----------------------------------------------------------------------------------------------------
android@honeynet:~/tools/androguard$ ./androcsign.py -i examples/obfu/classes_tc.sign -o examples/obfu/dbsample
impossible to find org/t0t0/androguard/TC/TCMod1; T1 ()V
Traceback (most recent call last):
File "./androcsign.py", line 68, in <module>
main(options, arguments)
File "./androcsign.py", line 40, in main
ret = s.add_file( open( options.input, "rb" ).read() )
File ".//core/analysis/msign.py", line 494, in add_file
raise("ooo")
TypeError: exceptions must be old-style classes or derived from BaseException, not str
-----------------------------------------------------------------------------------------------------
Do you have any clue to fix the problem?
Thanks.
Best regards,
Doaa