ciscocsirt / GOSINT

The GOSINT framework is a project used for collecting, processing, and exporting high quality indicators of compromise (IOCs).
BSD 3-Clause "New" or "Revised" License
537 stars 106 forks source link

Crash after running for a while #29

Open grayguest opened 3 years ago

grayguest commented 3 years ago

Using docker setup way.

$ sudo docker run -i -t -p 443:443 jsitech/gosint
[sudo] password for mint64:          
[ ok ] Starting database: mongodb.
We will now create Credentials to access the Gosint UI
Type a username: ***********
Type a Password: ***********

          _____                  _______                  _____                   _____                   _____            _____          
         /\    \                /::\    \                /\    \                 /\    \                 /\    \          /\    \         
        /::\    \              /::::\    \              /::\    \               /::\    \               /::\____\        /::\    \        
       /::::\    \            /::::::\    \            /::::\    \              \:::\    \             /::::|   |        \:::\    \       
      /::::::\    \          /::::::::\    \          /::::::\    \              \:::\    \           /:::::|   |         \:::\    \      
     /:::/\:::\    \        /:::/~~\:::\    \        /:::/\:::\    \              \:::\    \         /::::::|   |          \:::\    \     
    /:::/  \:::\    \      /:::/    \:::\    \      /:::/__\:::\    \              \:::\    \       /:::/|::|   |           \:::\    \    
   /:::/    \:::\    \    /:::/    / \:::\    \     \:::\   \:::\    \             /::::\    \     /:::/ |::|   |           /::::\    \   
  /:::/    / \:::\    \  /:::/____/   \:::\____\  ___\:::\   \:::\    \   ____    /::::::\    \   /:::/  |::|   | _____    /::::::\    \  
 /:::/    /   \:::\ ___\|:::|    |     |:::|    |/\   \:::\   \:::\    \ /\   \  /:::/\:::\    \ /:::/   |::|   |/\    \  /:::/\:::\    \ 
/:::/____/  ___\:::|    |:::|____|     |:::|    /::\   \:::\   \:::\____/::\   \/:::/  \:::\____/:: /    |::|   /::\____\/:::/  \:::\____\
\:::\    \ /\  /:::|____|\:::\    \   /:::/    /\:::\   \:::\   \::/    \:::\  /:::/    \::/    \::/    /|::|  /:::/    /:::/    \::/    /
 \:::\    /::\ \::/    /  \:::\    \ /:::/    /  \:::\   \:::\   \/____/ \:::\/:::/    / \/____/ \/____/ |::| /:::/    /:::/    / \/____/ 
  \:::\   \:::\ \/____/    \:::\    /:::/    /    \:::\   \:::\    \      \::::::/    /                  |::|/:::/    /:::/    /          
   \:::\   \:::\____\       \:::\__/:::/    /      \:::\   \:::\____\      \::::/____/                   |::::::/    /:::/    /           
    \:::\  /:::/    /        \::::::::/    /        \:::\  /:::/    /       \:::\    \                   |:::::/    /\::/    /            
     \:::\/:::/    /          \::::::/    /          \:::\/:::/    /         \:::\    \                  |::::/    /  \/____/             
      \::::::/    /            \::::/    /            \::::::/    /           \:::\    \                 /:::/    /                       
       \::::/    /              \::/____/              \::::/    /             \:::\____\               /:::/    /                        
        \::/____/                ~~                     \::/    /               \::/    /               \::/    /                         
                                                         \/____/                 \/____/                 \/____/                          

2021/03/15 01:54:35 Connecting to database...
2021/03/15 01:54:35 Successfully connected to backend database.
2021/03/15 01:54:35 Feeds not running, proceeding to start.
2021/03/15 01:54:35 Missing Twitter API keys... cannot start Twitter stream.
2021/03/15 01:54:35 Orchestration started.
2021/03/15 01:54:35 Missing Alienvault OTX API key... cannot start feed.
2021/03/15 01:54:35 No feeds found.
2021/03/15 01:55:54 Settings updated.
2021/03/15 01:55:54 Missing Twitter API keys... cannot start Twitter stream.
2021/03/15 01:55:54 Alienvault feed not running, proceeding to start.
2021/03/15 01:55:56 Alienvault feed started.
2021/03/16 00:00:36 Error doing reverse lookup on %v: %v 190.247.139.101 Could not parse ASN (7303 10318): %!s(MISSING): strconv.Atoi: parsing "7303 10318": invalid syntax
2021/03/16 00:00:45 Error doing reverse lookup on %v: %v 45.153.203.124 lookup 124.203.153.45.origin.asn.cymru.com on 10.95.38.38:53: no such host
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x6dae2f]

goroutine 2808 [running]:
main.GetAlienvault()
    /go/src/GOSINT/feeds.go:490 +0x6af
main.AlienvaultFeedCron.func1()
    /go/src/GOSINT/feeds.go:451 +0x20
GOSINT/vendor/gopkg.in/robfig/cron%2ev2.FuncJob.Run(0x7cdaf0)
    /go/src/GOSINT/vendor/gopkg.in/robfig/cron.v2/cron.go:94 +0x25
created by GOSINT/vendor/gopkg.in/robfig/cron%2ev2.(*Cron).run
    /go/src/GOSINT/vendor/gopkg.in/robfig/cron.v2/cron.go:189 +0x452