sroberts / jager

Hunting IOCs all day every day...
Other
82 stars 19 forks source link

-d option doesn't work #50

Closed krmaxwell closed 9 years ago

krmaxwell commented 9 years ago
(venv)action@red-thunder-36-216949:~/jager(master)$ python jager.py -d ../APTnotes                                                                                                          

WIP: You are trying to analyze all the PDFs in ../APTnotes and output to output.json                                                                                                        
- Analyzing File: <type 'file'>                                                                                                                                                             
Traceback (most recent call last):                                                                                                                                                          
  File "jager.py", line 374, in <module>                                                                                                                                                    
    main()                                                                                                                                                                                  
  File "jager.py", line 348, in main                                                                                                                                                        
    out_filename = "%s/%s.json" % (args.out_path, file.split('/')[-1].split(".")[0])                                                                                                        
AttributeError: type object 'file' has no attribute 'split'      

I know, WIP. But I don't think we have an issue to track it yet.

kbandla commented 9 years ago

Added in #58. Closing