mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-10 17:24:02 +02:00
added awareness training campaign mode, report, template mode, and stats
Signed-off-by: RonniSkansing <rskansing@gmail.com>
This commit is contained in:
1 parent
6804710d3c
commit
a7fbd573f6
37 files changed
+1540
-233
No files matched your search
@@ -1130,7 +1130,8 @@ export class API {
|
||||
urlPath: urlPath,
|
||||
lureURLMode,
|
||||
lureCodeAlgo,
|
||||
lureCodeLength
|
||||
lureCodeLength,
|
||||
isTraining
|
||||
}) => {
|
||||
return await postJSON(this.getPath('/campaign/template'), {
|
||||
name: name,
|
||||
@@ -1151,7 +1152,8 @@ export class API {
|
||||
urlPath: urlPath,
|
||||
lureURLMode: lureURLMode,
|
||||
lureCodeAlgo: lureCodeAlgo,
|
||||
lureCodeLength: lureCodeLength
|
||||
lureCodeLength: lureCodeLength,
|
||||
isTraining: isTraining
|
||||
});
|
||||
},
|
||||
|
||||
@@ -1201,7 +1203,8 @@ export class API {
|
||||
urlPath: urlPath,
|
||||
lureURLMode,
|
||||
lureCodeAlgo,
|
||||
lureCodeLength
|
||||
lureCodeLength,
|
||||
isTraining
|
||||
}) => {
|
||||
return await postJSON(this.getPath(`/campaign/template/${id}`), {
|
||||
name: name,
|
||||
@@ -1222,7 +1225,8 @@ export class API {
|
||||
urlPath: urlPath,
|
||||
lureURLMode: lureURLMode,
|
||||
lureCodeAlgo: lureCodeAlgo,
|
||||
lureCodeLength: lureCodeLength
|
||||
lureCodeLength: lureCodeLength,
|
||||
isTraining: isTraining
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user