jofpin / sack

Identify connection of sessions for social engineering attacks.
https://github.com/boxug/trape
55 stars 17 forks source link

Error: __init__() got an unexpected keyword argument 'strict' #2

Closed jpyamamoto closed 7 years ago

jpyamamoto commented 7 years ago

I tried to run the following command:

go facebook 90

But it returned the following output:

+--=[-> Facebook Pishing
+--=[-> Version: 1.0
+--=[-> Author: Jose Pino, @jofpin
+--=[-> Copyright: 2016

[*] Updating files...
Error: __init__() got an unexpected keyword argument 'strict'

I think this is caused by the bs4 module. I could track the following to /libs/bs4/init.py:

STRICT = 'strict'

jofpin commented 7 years ago

Hi, have you tried it with a port of 4 numbers?

jpyamamoto commented 7 years ago

Yes, same output

RedToor commented 7 years ago

https://github.com/jofpin/sack/blob/master/core/server.py#L33 change to

from bs4 import BeautifulSoup as bs

jpyamamoto commented 7 years ago

Ok, now the following error is appearing:

Error: 'ascii' codec can't encode character u'\xf3' in position 1227: ordinal not in range(128)

RedToor commented 7 years ago

Comment the line https://github.com/jofpin/sack/blob/master/core/server.py#L328 uncomment the line https://github.com/jofpin/sack/blob/master/core/server.py#L329

jpyamamoto commented 7 years ago

Working perfectly, thanks.