MCPcopy Create free account

hub / github.com/dirkjanm/ROADtools / functions

Functions804 in github.com/dirkjanm/ROADtools

↓ 398 callersMethodget
(self, url, **kwargs)
roadrecon/roadtools/roadrecon/gather.py:102
↓ 116 callersMethoddecode
(self)
roadtx/roadtools/roadtx/federation.py:298
↓ 74 callersMethodjson
(self, **kwargs)
roadrecon/roadtools/roadrecon/gather.py:90
↓ 49 callersMethodget_authority_url
Returns the authority URL for the tenant specified, or the common one if no tenant was specified
roadlib/roadtools/roadlib/auth.py:77
↓ 42 callersMethodrequests_post
Wrapper around requests.post to set all the options uniformly
roadlib/roadtools/roadlib/auth.py:1956
↓ 40 callersMethodtokenreply_to_tokendata
Convert /token reply from Azure to ADAL compatible object
roadlib/roadtools/roadlib/auth.py:1787
↓ 38 callersMethodread
Unpack the multipart batch on the first read and cache it.
roadrecon/roadtools/roadrecon/gather.py:53
↓ 33 callersMethodset_user_agent
Overrides user agent (accepts aliases)
roadlib/roadtools/roadlib/auth.py:123
↓ 32 callersMethodset_cae
Request a Continuous Access Evaluation token
roadlib/roadtools/roadlib/auth.py:191
↓ 32 callersMethodset_client_id
Sets client ID to use (accepts aliases)
roadlib/roadtools/roadlib/auth.py:94
↓ 30 callersMethodtext
(self, encoding='utf-8')
roadrecon/roadtools/roadrecon/gather.py:93
↓ 27 callersMethodget_srv_challenge_nonce
Request server challenge (nonce) to use with a PRT Returns Nonce as string
roadlib/roadtools/roadlib/auth.py:1366
↓ 27 callersMethodrequests_post
Wrapper around aiohttp.post to set all the options uniformly
roadlib/roadtools/roadlib/asyncauth.py:1007
↓ 26 callersMethodsave_tokens
(self, args)
roadlib/roadtools/roadlib/auth.py:2186
↓ 25 callersMethodparse_accesstoken
(token)
roadlib/roadtools/roadlib/auth.py:1774
↓ 21 callersMethodset_resource_uri
Sets resource URI to use (accepts aliases)
roadlib/roadtools/roadlib/auth.py:117
↓ 20 callersFunctionget_data
(data)
roadlib/roadtools/roadlib/auth.py:34
↓ 20 callersMethodparse_args
(self, args)
roadlib/roadtools/roadlib/auth.py:2032
↓ 18 callersMethodset_scope
Sets scope to use (accepts aliases for resource part)
roadlib/roadtools/roadlib/auth.py:100
↓ 14 callersMethoddump_object
(self, objecttype, dbtype, method=None)
roadrecon/roadtools/roadrecon/gather.py:335
↓ 13 callersMethodset_origin_value
Sets Origin header to use If the value "ru" is used, we take it from the redirect URL
roadlib/roadtools/roadlib/auth.py:108
↓ 12 callersFunctioncommit
(session, dbtype, cache, ignore=False)
roadrecon/roadtools/roadrecon/iggather.py:179
↓ 11 callersMethod_print_msg
(self, msg)
roadrecon/roadtools/roadrecon/plugins/xlsexport.py:67
↓ 11 callersMethoddecrypt_auth_response
Decrypt an encrypted authentication response, which is a JWE encrypted using the sessionkey
roadlib/roadtools/roadlib/auth.py:1314
↓ 10 callersMethod_apply_style_sheet
(self, sheet, width)
roadrecon/roadtools/roadrecon/plugins/xlsexport.py:77
↓ 10 callersMethod_create_excel_headers
(self, sheet, list_headers)
roadrecon/roadtools/roadrecon/plugins/xlsexport.py:71
↓ 10 callersMethod_create_sheet
(self, book, name)
roadrecon/roadtools/roadrecon/plugins/xlsexport.py:119
↓ 10 callersMethod_fill_sheet
(self, sheet, assets, fields)
roadrecon/roadtools/roadrecon/plugins/xlsexport.py:86
↓ 10 callersMethodauthenticate_as_app_native
Authenticate with a client id + secret or assertion Essentially an implementation of the oauth2 client credentials grant on the v1 au
roadlib/roadtools/roadlib/auth.py:517
↓ 10 callersMethodauthenticate_as_app_native_v2
Authenticate with a client id + secret or assertion Essentially an implementation of the oauth2 client credentials grant on the v2 au
roadlib/roadtools/roadlib/auth.py:547
↓ 10 callersMethodparse_wrapper
Wrapper to handle failures in parsing policy body better
roadrecon/roadtools/roadrecon/plugins/policies.py:556
↓ 9 callersMethodlookup_client_id
Translate client ID aliases
roadlib/roadtools/roadlib/auth.py:1904
↓ 8 callersMethodauthenticate_with_refresh_native
Authenticate with a refresh token plus optional secret in case of a non-public app (authorization grant) Native ROADlib implementatio
roadlib/roadtools/roadlib/auth.py:839
↓ 8 callersFunctioncommitlink
(session, cachedict, ignore=False)
roadrecon/roadtools/roadrecon/iggather.py:195
↓ 8 callersFunctionfind_redirurl_for_client
Get valid redirect URLs for specified client. Interactive means a https URL is preferred. In practice roadtx often prefers non-interactive UR
roadtx/roadtools/roadtx/utils.py:8
↓ 8 callersMethodget_service
(self, driverpath)
roadtx/roadtools/roadtx/selenium.py:60
↓ 8 callersMethodget_webdriver
Load webdriver based on service, which is either from selenium or selenium-wire if interception is requested
roadtx/roadtools/roadtx/selenium.py:76
↓ 8 callersMethodhandle_autotoken
Handle autotoken for the requested resource based on the input tokenfile
roadlib/roadtools/roadlib/auth.py:2062
↓ 8 callersMethodrequests_get
Wrapper around requests.get to set all the options uniformly
roadlib/roadtools/roadlib/auth.py:1940
↓ 7 callersFunctionadd_edge
(tx, aid, atype, bid, btype, linktype)
roadrecon/roadtools/roadrecon/plugins/bloodhound.py:52
↓ 7 callersFunctionb64_url_d
(string)
roadtx/roadtools/roadtx/utils.py:88
↓ 7 callersFunctioncommit
(session, dbtype, cache, ignore=False)
roadrecon/roadtools/roadrecon/gather.py:279
↓ 7 callersMethodcreate_prt_cookie_kdf_ver_2
KDF version 2 cookie construction
roadlib/roadtools/roadlib/auth.py:1213
↓ 7 callersMethodcreate_pubkey_blob_from_key
Convert a key (or certificate) to RSA key blob https://docs.microsoft.com/en-us/windows/win32/api/bcrypt/ns-bcrypt-bcrypt_rsakey_blob
roadlib/roadtools/roadlib/deviceauth.py:295
↓ 7 callersFunctiondumphelper
(url, method=requests.get)
roadrecon/roadtools/roadrecon/iggather.py:57
↓ 7 callersMethodloadprt
Load PRT from disk
roadlib/roadtools/roadlib/deviceauth.py:143
↓ 7 callersMethodrequest_token_with_devicecert_signed_payload
Wrap the request payload in a JWT and sign this using the device cert / key
roadlib/roadtools/roadlib/deviceauth.py:693
↓ 7 callersMethodset_force_mfa
Force MFA during auth
roadlib/roadtools/roadlib/auth.py:197
↓ 7 callersMethodsetprt
Set PRT parameters in the correct internal format
roadlib/roadtools/roadlib/deviceauth.py:158
↓ 6 callersMethodauthenticate_with_code_native
Authenticate with a code plus optional secret in case of a non-public app (authorization grant) Native ROADlib implementation without
roadlib/roadtools/roadlib/auth.py:905
↓ 6 callersMethodauthenticate_with_code_native_v2
Authenticate with a code plus optional secret in case of a non-public app (authorization grant) Native ROADlib implementation without
roadlib/roadtools/roadlib/auth.py:935
↓ 6 callersMethodauthenticate_with_refresh_native_v2
Authenticate with a refresh token plus optional secret in case of a non-public app (authorization grant) Native ROADlib implementatio
roadlib/roadtools/roadlib/auth.py:866
↓ 6 callersMethodbuild_auth_url
Build authorize URL. Can be v2 by specifying scope, otherwise defaults to v1 with resource
roadlib/roadtools/roadlib/auth.py:1162
↓ 6 callersMethoddump_linked_objects
(self, objecttype, linktype, parenttbl, linkobjecttype, method=None, ignore_duplicates=False, parents=None)
roadrecon/roadtools/roadrecon/pimgather.py:251
↓ 6 callersFunctiondumphelper
(url, method)
roadrecon/roadtools/roadrecon/gather.py:129
↓ 6 callersMethodensure_binary_sessionkey
(sessionkey)
roadlib/roadtools/roadlib/auth.py:1740
↓ 6 callersMethodensure_plain_prt
(prt)
roadlib/roadtools/roadlib/auth.py:1765
↓ 6 callersMethodgenerate_app_assertion
(self, use_v2=True, use_x5c=False)
roadlib/roadtools/roadlib/auth.py:707
↓ 6 callersMethodget_redirect_for_client
Try to resolve a valid redirect URI for a client, using roadtx lookup if available. Falls back to the native client redirect.
roadlib/roadtools/roadlib/auth.py:129
↓ 6 callersMethodloadcert
Load a device certificate from disk
roadlib/roadtools/roadlib/deviceauth.py:68
↓ 5 callersMethod_parse_ucrit
(self, crit)
roadrecon/roadtools/roadrecon/plugins/policies.py:176
↓ 5 callersMethodcalculate_derived_key
Calculate the derived key given a session key and optional context using KBKDFHMAC
roadlib/roadtools/roadlib/auth.py:1291
↓ 5 callersMethodcalculate_derived_key_v2
Derived key calculation v2, which uses the JWT body
roadlib/roadtools/roadlib/auth.py:1280
↓ 5 callersFunctioncommit
(session, dbtype, cache, ignore=False)
roadrecon/roadtools/roadrecon/pimgather.py:173
↓ 5 callersMethodcreate_public_jwk_from_key
Convert a key (or certificate) to JWK public numbers https://www.rfc-editor.org/rfc/rfc7517
roadlib/roadtools/roadlib/deviceauth.py:320
↓ 5 callersMethoddump_object
(self, objecttype, dbtype, method=None)
roadrecon/roadtools/roadrecon/iggather.py:220
↓ 5 callersMethodloadappcert
Load a certificate from disk for usage with application auth
roadlib/roadtools/roadlib/auth.py:236
↓ 5 callersMethodrequest_token_with_devicecert_signed_payload
Wrap the request payload in a JWT and sign this using the device cert / key
roadlib/roadtools/roadlib/asyncdeviceauth.py:403
↓ 5 callersMethodrequests_get
Wrapper around aiohttp.get to set all the options uniformly
roadlib/roadtools/roadlib/asyncauth.py:987
↓ 5 callersMethodselenium_login
Selenium based login with optional autofill of whatever is provided
roadtx/roadtools/roadtx/selenium.py:261
↓ 5 callersFunctiontrl_prop
(prop)
roadlib/roadtools/roadlib/metagen_ig.py:8
↓ 5 callersFunctiontrl_prop
(prop)
roadlib/roadtools/roadlib/metagen_pim.py:8
↓ 4 callersMethodauthenticate_with_prt
Authenticate with a PRT and given context/derived key Uses KDF version 1 (legacy)
roadlib/roadtools/roadlib/auth.py:1257
↓ 4 callersFunctioncommit
(session, dbtype, cache, ignore=False)
roadrecon/roadtools/roadrecon/azgather.py:117
↓ 4 callersFunctioncommitmfa
(session, dbtype, cache)
roadrecon/roadtools/roadrecon/gather.py:313
↓ 4 callersMethoddecrypt_jwe_with_transport_key
Decrypt JWE data structure with transport key to obtain session key
roadlib/roadtools/roadlib/deviceauth.py:757
↓ 4 callersMethodderive
(self, key_material)
roadtx/roadtools/roadtx/federation.py:121
↓ 4 callersMethoddump_links
(self, objecttype, linktype, parenttbl, mapping=None, linkname=None, childtbl=None, method=None)
roadrecon/roadtools/roadrecon/gather.py:407
↓ 4 callersMethoddump_links_with_queue
(self, queue, objecttype, linktype, parenttbl, mapping=None, method=None)
roadrecon/roadtools/roadrecon/gather.py:425
↓ 4 callersFunctiondumphelper
(url, method=requests.get)
roadrecon/roadtools/roadrecon/azgather.py:47
↓ 4 callersMethodensure_binary_context
(context)
roadlib/roadtools/roadlib/auth.py:1759
↓ 4 callersMethodensure_binary_derivedkey
(derived_key)
roadlib/roadtools/roadlib/auth.py:1732
↓ 4 callersMethodget_keepass_cred
Get password plus OTP from KeePass file
roadtx/roadtools/roadtx/selenium.py:230
↓ 4 callersMethodget_sub_argparse
Get an argparse subparser for authentication
roadlib/roadtools/roadlib/auth.py:1619
↓ 4 callersFunctionguid_to_string
(binary_guid)
roadtx/roadtools/roadtx/utils.py:83
↓ 4 callersMethodloadData
(page?: number)
roadrecon/frontend/src/app/appmain/users/users.component.ts:47
↓ 4 callersMethodloadData
(page?: number)
roadrecon/frontend/src/app/appmain/groups/groups.component.ts:42
↓ 4 callersMethodloadData
(page?: number)
roadrecon/frontend/src/app/appmain/devices/devices.component.ts:42
↓ 4 callersMethodredir_has_custom_scheme
Check whether the redirect URL has a custom scheme In this case we try to replace this during the response since Firefox otherwise bu
roadtx/roadtools/roadtx/selenium.py:127
↓ 4 callersFunctiontrl_prop
(prop, curnamespace='')
roadlib/roadtools/roadlib/metagen_msgraph.py:6
↓ 4 callersFunctiontrl_prop
(prop)
roadlib/roadtools/roadlib/metagen.py:6
↓ 3 callersMethod_decode_octet_string
(self, remains=None)
roadtx/roadtools/roadtx/federation.py:251
↓ 3 callersMethod_get_policy_ids
(self, components_to_leaf, binding_xpath)
roadlib/roadtools/roadlib/wstrust.py:66
↓ 3 callersMethod_parse_risks
(self, cond, riskskey)
roadrecon/roadtools/roadrecon/plugins/policies.py:348
↓ 3 callersMethod_parse_ucrit
(self, crit)
roadrecon/roadtools/roadrecon/plugins/policyanalysis.py:126
↓ 3 callersMethodadd_claim
Add desired claim to authentication flow, for example CAE or MFA
roadlib/roadtools/roadlib/auth.py:175
↓ 3 callersFunctionadd_ra_recursive
(group, roles, processedgroups)
roadrecon/roadtools/roadrecon/server.py:380
↓ 3 callersMethodauthenticate_username_password_native
Authenticate using user w/ username + password. This doesn't work for users or tenants that have multi-factor authentication required
roadlib/roadtools/roadlib/auth.py:451
↓ 3 callersMethodauthenticate_with_prt_cookie
Authenticate with a PRT cookie, optionally re-signing the cookie if a key is given
roadlib/roadtools/roadlib/auth.py:1477
↓ 3 callersFunctionautobroker
(args, auth, tokenobject=None)
roadtx/roadtools/roadtx/utils.py:34
next →1–100 of 804, ranked by callers