File tree 2 files changed +44
-0
lines changed
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ import idc
2
+ import idaapi
3
+
4
+ from . import network
5
+ from . import actions
6
+
7
+
8
+ class AddFileSilentUI (actions .base .Action ):
9
+ pass
10
+
11
+
12
+ class MatchSilentUI (actions .base .Action ):
13
+ pass
14
+
15
+
16
+ def main ():
17
+ # add file
18
+ actions .project .AddFileAction (AddFileSilentUI )
19
+ description = "Automatically collected / uploaded by autoupload.py"
20
+ ##############
21
+
22
+ # upload data
23
+ actions .match .MatchAction (MatchSilentUI )
24
+
25
+
26
+ if __name__ == "__main__" :
27
+ # action = str(idc.ARGV[1])
28
+ # task_id = int(idc.ARGV[2])
29
+ # owner_id = int(idc.ARGV[3])
30
+
31
+ # wait until autoanalysis is done, if needed
32
+ idaapi .autoWait ()
33
+
34
+ main ()
35
+
36
+ # and exit the IDA instance
37
+ idaapi .qexit (0 )
Original file line number Diff line number Diff line change
1
+ import idaplugin
2
+
3
+
4
+ def test_main (idapro_app ):
5
+ del idapro_app
6
+
7
+ idaplugin .rematch .autoupload .main ()
You can’t perform that action at this time.
0 commit comments