|
|
|
@ -312,12 +312,10 @@
|
|
|
|
|
<elementProp name="" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">{ 
|
|
|
|
|
"callbackUrl":"www.google.lk",
|
|
|
|
|
"clientName":"app_${randAppNum}",
|
|
|
|
|
"tokenScope":"Production",
|
|
|
|
|
"owner":"user111",
|
|
|
|
|
"grantType":"password refresh_token",
|
|
|
|
|
"saasApp":true
|
|
|
|
|
"applicationName":"app_${randAppNum}",
|
|
|
|
|
"isAllowedToAllDomains":false,
|
|
|
|
|
"tags":["android", "device_management"],
|
|
|
|
|
"isMappingAnExistingOAuthApp":false
|
|
|
|
|
}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
@ -329,7 +327,7 @@
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol">https</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/api/appm/oauth/v1.0/register</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/api-application-registration/register</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</stringProp>
|
|
|
|
|
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
|
|
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
|
@ -348,7 +346,7 @@
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="" elementType="Header">
|
|
|
|
|
<stringProp name="Header.name">Host</stringProp>
|
|
|
|
|
<stringProp name="Header.value">10.100.1.90:9763</stringProp>
|
|
|
|
|
<stringProp name="Header.value">localhost:9763</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="" elementType="Header">
|
|
|
|
|
<stringProp name="Header.name">Content-Type</stringProp>
|
|
|
|
@ -360,7 +358,7 @@
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientID Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">clientId</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"clientId":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"client_id":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default">0</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
@ -369,7 +367,7 @@
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientSecret Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">clientSecret</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"clientSecret":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"client_secret":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default">0</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
@ -416,7 +414,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="scope" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">appm:subscribe device:view activity:view device:android:operation:change-lock device:admin:view configuration:view device:android:enroll user:view</stringProp>
|
|
|
|
|
<stringProp name="Argument.value">perm:android:enroll perm:android:wipe perm:android:ring perm:android:lock-devices perm:android:configure-vpn perm:android:configure-wifi perm:android:enroll perm:android:uninstall-application perm:android:manage-configuration perm:android:location perm:android:install-application perm:android:mute perm:android:change-lock-code perm:android:blacklist-applications perm:android:set-password-policy perm:android:encrypt-storage perm:android:clear-password perm:android:enterprise-wipe perm:android:info perm:android:view-configuration perm:android:upgrade-firmware perm:android:set-webclip perm:android:send-notification perm:android:disenroll perm:android:update-application perm:android:unlock-devices perm:android:control-camera perm:android:reboot perm:android:logcat appm:subscribe perm:sign-csr perm:admin:devices:view perm:roles:add perm:roles:add-users perm:roles:update perm:roles:permissions perm:roles:details perm:roles:view perm:roles:create-combined-role perm:roles:delete perm:dashboard:vulnerabilities perm:dashboard:non-compliant-count perm:dashboard:non-compliant perm:dashboard:by-groups perm:dashboard:device-counts perm:dashboard:feature-non-compliant perm:dashboard:count-overview perm:dashboard:filtered-count perm:dashboard:details perm:get-activity perm:devices:delete perm:devices:applications perm:devices:effective-policy perm:devices:compliance-data perm:devices:features perm:devices:operations perm:devices:search perm:devices:details perm:devices:update perm:devices:view perm:view-configuration perm:manage-configuration perm:policies:remove perm:policies:priorities perm:policies:deactivate perm:policies:get-policy-details perm:policies:manage perm:policies:activate perm:policies:update perm:policies:changes perm:policies:get-details perm:users:add perm:users:details perm:users:count perm:users:delete perm:users:roles perm:users:user-details perm:users:credentials perm:users:search perm:users:is-exist perm:users:update perm:users:send-invitation perm:admin-users:view perm:groups:devices perm:groups:update perm:groups:add perm:groups:device perm:groups:devices-count perm:groups:remove perm:groups:groups perm:groups:groups-view perm:groups:share perm:groups:count perm:groups:roles perm:groups:devices-remove perm:groups:devices-add perm:groups:assign perm:device-types:features perm:device-types:types perm:applications:install perm:applications:uninstall perm:admin-groups:count perm:admin-groups:view perm:notifications:mark-checked perm:notifications:view perm:admin:certificates:delete perm:admin:certificates:details perm:admin:certificates:view perm:admin:certificates:add perm:admin:certificates:verify perm:ios:enroll perm:ios:view-device perm:ios:apn perm:ios:ldap perm:ios:enterprise-app perm:ios:store-application perm:ios:remove-application perm:ios:app-list perm:ios:profile-list perm:ios:lock perm:ios:enterprise-wipe perm:ios:device-info perm:ios:restriction perm:ios:email perm:ios:cellular perm:ios:applications perm:ios:wifi perm:ios:ring perm:ios:location perm:ios:notification perm:ios:airplay perm:ios:caldav perm:ios:cal-subscription perm:ios:passcode-policy perm:ios:webclip perm:ios:vpn perm:ios:per-app-vpn perm:ios:app-to-per-app-vpn perm:ios:app-lock perm:ios:clear-passcode perm:ios:remove-profile perm:ios:get-restrictions perm:ios:wipe-data perm:admin perm:android:applications</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">scope</stringProp>
|
|
|
|
@ -429,7 +427,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol">https</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/oauth2/token</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/token</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</stringProp>
|
|
|
|
|
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
|
|
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
|
@ -626,12 +624,10 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
<elementProp name="" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">{ 
|
|
|
|
|
"callbackUrl":"www.google.lk",
|
|
|
|
|
"clientName":"appp_${randAppNum}",
|
|
|
|
|
"tokenScope":"Production",
|
|
|
|
|
"owner":"admin",
|
|
|
|
|
"grantType":"password refresh_token",
|
|
|
|
|
"saasApp":true
|
|
|
|
|
"applicationName":"app_${randAppNum}",
|
|
|
|
|
"isAllowedToAllDomains":false,
|
|
|
|
|
"tags":["android", "device_management"],
|
|
|
|
|
"isMappingAnExistingOAuthApp":false
|
|
|
|
|
}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
@ -643,7 +639,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol">https</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/api/appm/oauth/v1.0/register</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/api-application-registration/register</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</stringProp>
|
|
|
|
|
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
|
|
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
|
@ -662,7 +658,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="" elementType="Header">
|
|
|
|
|
<stringProp name="Header.name">Host</stringProp>
|
|
|
|
|
<stringProp name="Header.value">10.100.1.90:9763</stringProp>
|
|
|
|
|
<stringProp name="Header.value">localhost:9763</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="" elementType="Header">
|
|
|
|
|
<stringProp name="Header.name">Content-Type</stringProp>
|
|
|
|
@ -674,7 +670,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientID Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">clientId</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"clientId":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"client_id":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default">0</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
@ -683,7 +679,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientSecret Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">clientSecret</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"clientSecret":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"client_secret":"(.+?)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default">0</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
@ -730,7 +726,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="scope" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">appm:subscribe device:view activity:view device:android:operation:change-lock device:admin:view configuration:view device:android:enroll user:view</stringProp>
|
|
|
|
|
<stringProp name="Argument.value">perm:android:enroll perm:android:wipe perm:android:ring perm:android:lock-devices perm:android:configure-vpn perm:android:configure-wifi perm:android:enroll perm:android:uninstall-application perm:android:manage-configuration perm:android:location perm:android:install-application perm:android:mute perm:android:change-lock-code perm:android:blacklist-applications perm:android:set-password-policy perm:android:encrypt-storage perm:android:clear-password perm:android:enterprise-wipe perm:android:info perm:android:view-configuration perm:android:upgrade-firmware perm:android:set-webclip perm:android:send-notification perm:android:disenroll perm:android:update-application perm:android:unlock-devices perm:android:control-camera perm:android:reboot perm:android:logcat appm:subscribe perm:sign-csr perm:admin:devices:view perm:roles:add perm:roles:add-users perm:roles:update perm:roles:permissions perm:roles:details perm:roles:view perm:roles:create-combined-role perm:roles:delete perm:dashboard:vulnerabilities perm:dashboard:non-compliant-count perm:dashboard:non-compliant perm:dashboard:by-groups perm:dashboard:device-counts perm:dashboard:feature-non-compliant perm:dashboard:count-overview perm:dashboard:filtered-count perm:dashboard:details perm:get-activity perm:devices:delete perm:devices:applications perm:devices:effective-policy perm:devices:compliance-data perm:devices:features perm:devices:operations perm:devices:search perm:devices:details perm:devices:update perm:devices:view perm:view-configuration perm:manage-configuration perm:policies:remove perm:policies:priorities perm:policies:deactivate perm:policies:get-policy-details perm:policies:manage perm:policies:activate perm:policies:update perm:policies:changes perm:policies:get-details perm:users:add perm:users:details perm:users:count perm:users:delete perm:users:roles perm:users:user-details perm:users:credentials perm:users:search perm:users:is-exist perm:users:update perm:users:send-invitation perm:admin-users:view perm:groups:devices perm:groups:update perm:groups:add perm:groups:device perm:groups:devices-count perm:groups:remove perm:groups:groups perm:groups:groups-view perm:groups:share perm:groups:count perm:groups:roles perm:groups:devices-remove perm:groups:devices-add perm:groups:assign perm:device-types:features perm:device-types:types perm:applications:install perm:applications:uninstall perm:admin-groups:count perm:admin-groups:view perm:notifications:mark-checked perm:notifications:view perm:admin:certificates:delete perm:admin:certificates:details perm:admin:certificates:view perm:admin:certificates:add perm:admin:certificates:verify perm:ios:enroll perm:ios:view-device perm:ios:apn perm:ios:ldap perm:ios:enterprise-app perm:ios:store-application perm:ios:remove-application perm:ios:app-list perm:ios:profile-list perm:ios:lock perm:ios:enterprise-wipe perm:ios:device-info perm:ios:restriction perm:ios:email perm:ios:cellular perm:ios:applications perm:ios:wifi perm:ios:ring perm:ios:location perm:ios:notification perm:ios:airplay perm:ios:caldav perm:ios:cal-subscription perm:ios:passcode-policy perm:ios:webclip perm:ios:vpn perm:ios:per-app-vpn perm:ios:app-to-per-app-vpn perm:ios:app-lock perm:ios:clear-passcode perm:ios:remove-profile perm:ios:get-restrictions perm:ios:wipe-data perm:admin perm:android:applications</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">scope</stringProp>
|
|
|
|
@ -743,7 +739,7 @@ vars.put("base64encodedId",new String(encryptedId));</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol">https</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/oauth2/token</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/token</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</stringProp>
|
|
|
|
|
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
|
|
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
|
|