Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Dec 4, 2023
1 parent ed42fde commit d22c696
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
28 changes: 14 additions & 14 deletions mobsf/templates/dynamic_analysis/ios/dynamic_analyzer.html
Original file line number Diff line number Diff line change
Expand Up @@ -1082,21 +1082,21 @@ <h5 class="modal-title" id="exampleModalLabel">Attach to a Running Process</h5>
class_trace: $('#class_trace').val(),
frida_code: editor.getDoc().getValue(),
}, function(json) {
if (json.status !== "ok")
print_status(json.message);
if (!appContainerPath)
setTimeout(function(){ getContainerPath(); }, 5000);
else {
// Attach to a running process
if (frida_action == 'ps' && json.message && json.message.length > 0 && Array.isArray(json.message)){
$("#process_select").empty();
json.message.forEach(function(p) {
$('#process_select').append(
'<option value=' + escape(p.pid.toString()) + ',' + escape(p.identifier.toString()) + '>' + escape(p.pid.toString()) + ': ' + escapeHtml(p.name.toString()) + ' - ' + escape(p.identifier.toString()) + '</option>');
});
$('#frida_attach_mdl').modal('toggle');
if (json.status !== "ok")
print_status(json.message);
else {
if (!appContainerPath)
setTimeout(function(){ getContainerPath(); }, 5000);
// Attach to a running process
if (frida_action == 'ps' && json.message && json.message.length > 0 && Array.isArray(json.message)){
$("#process_select").empty();
json.message.forEach(function(p) {
$('#process_select').append(
'<option value=' + escape(p.pid.toString()) + ',' + escape(p.identifier.toString()) + '>' + escape(p.pid.toString()) + ': ' + escapeHtml(p.name.toString()) + ' - ' + escape(p.identifier.toString()) + '</option>');
});
$('#frida_attach_mdl').modal('toggle');
}
}
}
});
}

Expand Down
14 changes: 7 additions & 7 deletions mobsf/templates/general/apidocs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2026,37 +2026,37 @@ <h2><a id="frida-instrument-api"></a><strong>Frida Instrument App API</strong></
</tr>
<tr>
<td>default_hooks</td>
<td>comma separated default hooks to load.</td>
<td>comma separated default hooks to load</td>
<td>Yes</td>
</tr>
<tr>
<td>auxiliary_hooks</td>
<td>comma separated auxiliary hooks to load.</td>
<td>comma separated auxiliary hooks to load</td>
<td>Yes</td>
</tr>
<tr>
<td>frida_code</td>
<td>user defined frida code to load.</td>
<td>user defined frida code to load</td>
<td>Yes</td>
</tr>
<tr>
<td>class_name</td>
<td>class name to perform method enumeration when `enum_methods` auxiliary_hook is specified.</td>
<td>class name to perform method enumeration when `enum_methods` auxiliary_hook is specified</td>
<td>No</td>
</tr>
<tr>
<td>class_search</td>
<td>pattern to search when `search_class` auxiliary_hook is specified.</td>
<td>pattern to search when `search_class` auxiliary_hook is specified</td>
<td>No</td>
</tr>
<tr>
<td>class_trace</td>
<td>class name to trace when `trace_class` auxiliary_hook is specified.</td>
<td>class name to trace when `trace_class` auxiliary_hook is specified</td>
<td>No</td>
</tr>
<tr>
<td>frida_action</td>
<td>spawn/session/ps. The default is spawn</td>
<td>spawn/session/ps. The default action is spawn</td>
<td>No</td>
</tr>
<tr>
Expand Down

0 comments on commit d22c696

Please sign in to comment.