mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-25 14:00:18 +00:00
Merge pull request #1 from kollieartwolf/patch-3
Fix utf-8 codec error (2/2)
This commit is contained in:
commit
739756b0a9
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ if apache_mode == "on":
|
|||
apache_rewrite = "post.php"
|
||||
|
||||
# start the scraping process
|
||||
fileopen = open(userconfigpath + "web_clone/%s" % (site), "r").readlines()
|
||||
fileopen = open(userconfigpath + "web_clone/%s" % (site), "r", encoding='utf-8', errors='ignore').readlines()
|
||||
filewrite = open(userconfigpath + "web_clone/index.html.new", "w")
|
||||
for line in fileopen:
|
||||
|
||||
|
|
Loading…
Reference in a new issue