chenjj / espoofer

An email spoofing testing tool that aims to bypass SPF/DKIM/DMARC and forge DKIM signatures.🍻

Home Page:https://www.jianjunchen.com/p/composition-kills.USESEC20.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error i couldnt solve

ridhwn opened this issue · comments

Hi, When i run the code on py 3.7 & 3.9 i got this error. I tried to understand and attempt to fix it, but still the same. Do you have any idea, im not good at phyton. I can see you just define that, but seems the import is not working. Can help?

Start sending emails...
Traceback (most recent call last):
File ".\test\espoofer.py", line 160, in
main()
File ".\test\espoofer.py", line 148, in main
exploits_builder = ExploitsBuilder(testcases.test_cases, config)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\test\exploits_builder.py", line 11, in init
self.test_cases = self.fixup_test_case_data(test_cases)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\test\exploits_builder.py", line 27, in fixup_test_case_data
t['data']['subject_header'] = self.config['subject_header']
KeyError: 'data'

Hi, thanks for reporting. Could you tell me your config.py and python commands, so that I can debug this?

t['data']->t[self.case_id]['data']

Thanks for the suggestion, @JlSakuya! Should be fixed now. Please check if it's OK. @ridhwn

hi @chenjj @JlSakuya TQVM, the code is working now, but not sure the theory behind the testing is working. I'm trying the client not the server. I will test again and read thru your research paper, ive read the slide. Good research.