Skip to content

Instantly share code, notes, and snippets.

@whoo
Last active November 29, 2021 12:57
Show Gist options
  • Save whoo/01d6269911ed2df7490e7276c0dd6f94 to your computer and use it in GitHub Desktop.
Save whoo/01d6269911ed2df7490e7276c0dd6f94 to your computer and use it in GitHub Desktop.
import json
import pandas as pd
data = pd.read_csv('gophish_row.csv')
for a in data.iloc():
if type(a.details) is str:
obj=json.loads(a.details)
if 'payload' in obj:
if 'password' in obj['payload']:
print("{username} {password}".format(**obj['payload']))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment