Raikia / FiercePhish

FiercePhish is a full-fledged phishing framework to manage all phishing engagements. It allows you to track separate phishing campaigns, schedule sending of emails, and much more.

Home Page:https://github.com/Raikia/FiercePhish/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

which targets were rejected on import?

digininja opened this issue · comments

I had 3 targets in the system, I imported a CSV containing 562, I now have 563 targets in the system. The import failed for 2 of the entries but I don't know which ones. You need some way to show which lines failed.

Yeah, thats true. The import job is a background job so I didn't make any type of error notification system for it, which was shortsighted. I'll make sure I address this in the next iteration! Good call

For anyone interested, the way I worked it out was doing this:

select target_users.first_name, target_users.last_name, target_users.email from target_users into outfile "/var/lib/mysql-files/imported.csv" FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n';

and then sorting and diffing the file with my input file.