mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2025-02-18 06:18:35 +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"
|
apache_rewrite = "post.php"
|
||||||
|
|
||||||
# start the scraping process
|
# 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")
|
filewrite = open(userconfigpath + "web_clone/index.html.new", "w")
|
||||||
for line in fileopen:
|
for line in fileopen:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue