Cl0udG0d / Fofa-hack

非付费会员,fofa数据采集工具
GNU General Public License v2.0
742 stars 148 forks source link

Email #23

Closed Deswer60871 closed 1 year ago

Deswer60871 commented 1 year ago
Traceback (most recent call last):
  File "C:\Users\Beast\AppData\Local\Temp\tempCodeRunnerFile.python", line 84, in <module>
    main()
  File "C:\Users\Beast\AppData\Local\Temp\tempCodeRunnerFile.python", line 79, in main
    mail_client = Emailnator()
                  ^^^^^^^^^^^^
  File "C:\Users\Beast\AppData\Local\Temp\tempCodeRunnerFile.python", line 19, in __init__
    "x-xsrf-token": self.client.cookies.get("XSRF-TOKEN")[:-3] + "=",
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
TypeError: 'NoneType' object is not subscriptable
Cl0udG0d commented 1 year ago

怎会如此,你的运行命令是什么

Cl0udG0d commented 1 year ago

我这边使用 python fofa.py -k index 没问题

image

Deswer60871 commented 1 year ago

no generate new emails

problem is website www.emailnator.com no load email

def main():
    mail_client = Emailnator()
    mail_address = mail_client.get_mail()
    print(mail_address)
Traceback (most recent call last):
  File "C:\Users\Beast\AppData\Local\Temp\tempCodeRunnerFile.python", line 91, in <module>
    main()
  File "C:\Users\Beast\AppData\Local\Temp\tempCodeRunnerFile.python", line 82, in main
    mail_client = Emailnator()
                  ^^^^^^^^^^^^
  File "C:\Users\Beast\AppData\Local\Temp\tempCodeRunnerFile.python", line 19, in __init__
    "x-xsrf-token": self.client.cookies.get("XSRF-TOKEN")[:-3] + "=",
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
TypeError: 'NoneType' object is not subscriptable
Exception ignored in: <function Emailnator.__del__ at 0x000001E8EC2D8040>
Traceback (most recent call last):
  File "C:\Users\Beast\AppData\Local\Temp\tempCodeRunnerFile.python", line 78, in __del__
    if self.email:
       ^^^^^^^^^^
AttributeError: 'Emailnator' object has no attribute 'email'
Cl0udG0d commented 1 year ago

这个应该是test.py里面的,现在还不是主线用法

Cl0udG0d commented 1 year ago

我的项目里面没有调用这个方法

Deswer60871 commented 1 year ago

could i ask just to get the code working? it worked for me until now and now it stopped working i used it yesterday to create an account i would be very grateful

I'll send a few euros for it

Cl0udG0d commented 1 year ago

欧洲人也用微信吗

Deswer60871 commented 1 year ago

欧洲人也用微信吗

google translate is powerful :D

Cl0udG0d commented 1 year ago

等我吧,晚上看看这段代码,原来的网站加了访问限制 www.emailnator.com

Deswer60871 commented 1 year ago

yes :D this problem have :DDD thanx

Deswer60871 commented 1 year ago

now it works again, I don't know why :D did he write something wrong there? and does it fix it? who knows or bug

Cl0udG0d commented 1 year ago

我昨天对该部分进行了测试,导致你之前运行失败的原因是目标网站www.emailnator.com 部署并开启了 cloudflare防火墙,导致代码中访问获取邮箱的时候被拦截。

不知道为什么网站现在又关闭了防火墙,所以导致代码能够正常运行了

祝你好运