[edbb89]: phish / phishStruct_test.py Maximize Restore History

Download this file

phishStruct_test.py    48 lines (45 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#'''
# phishStruct.py:
#
# This is the layout of a structure imported to various routines that
# generate a PhraudReport IODEF-Document to send to the APWG.
#
# [1]- pcain@apwg.org - 09-01-2012
#
#'''
#
phishStruct = {
'brand': 'Big Company',
'method' : 'A standard phish lure.',
'from': 'thebarrio@example.com',
'recipient': 'gullibles@all.net',
'source' : {
'ipAddress': '127.0.0.1',
'dns' : {
'name':'1.0.0.127.dhcp.example.com',
'registrar' : 'Bad Registrars, Inc.'
}
},
'subject': 'Click me, you fool!',
'sent': None,
'datetime': '2012-12-25T00:01:00-05:00',
'count' : 0,
'confidence' : '65',
'lang' : 'en-US',
'message' : 'This is the lure',
'collector' : {
'lang' : 'po-US',
'type': 'web', 'uri': 'collector.example.com',
#'type': 'email', 'uri': 'mail@example.com',
#'type': 'unspecified', 'uri': 'Something unknown',
#'type': 'automation', 'uri': '10.0.13.66',
#'type': 'domain', 'uri': 'example.com',
#'type': 'phonenumber', 'uri': '+1.800.555.1212',
'confidence' : '65',
'ipAddress' : '127.0.0.2',
'dns' : {
'name':'pat.the.phisher.org',
'registrar' : 'Bad Registrars, Inc.'
}
}
}