lasq88 / socgholish_finder

14 stars 3 forks source link

modified code to accept csv! #2

Closed joshnck closed 1 year ago

joshnck commented 1 year ago

My python is sloppy - but I've modified this to accept a list of domains via csv.

I've also added some functionality to prepend http:// or https://.

It still fails on nested js files though... but I think most SocGholish objects are usually on the index directly?

lasq88 commented 1 year ago

Good work, thanks. After testing I only added one thing encoding='utf-8-sig' to open as I was having issues with Excel generated .csv file (Excel adds a file signature to the .csv file)

lasq88 commented 1 year ago

Also yeah, the initial idea was to scan all nested javascript files, but after some time analyzing socgholish, I never found the code embedded in the nested javascript, this way it's definitely faster.