module.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <div class="panel panel-default" ng-controller="OnlineHashCrack_Controller"><div class="panel-heading"><h4 class="panel-title pull-left">{{title}}</h4><span class="pull-right">{{version}}</span><div class="clearfix"></div></div></div>
  2. <div class="row">
  3. <div class="col-md-4">
  4. <div class="panel panel-default" ng-controller="OnlineHashCrack_ControlsController">
  5. <div class="panel-heading">
  6. <h3 class="panel-title">Controls</h3>
  7. </div>
  8. <div class="panel-body">
  9. <table style="width:100%">
  10. <tr>
  11. <td style="padding-bottom: .5em;" class="text-muted">Dependencies</td>
  12. <td ng-hide="$root.status.installed" style="text-align:right;padding-bottom: .5em;"><button type="button" style="width: 90px;" class="btn btn-{{installLabel}} btn-xs" data-toggle="modal" data-target="#dependenciesInstallModal" ng-disabled="processing">{{install}}</button></td>
  13. <td ng-show="$root.status.installed" style="text-align:right;padding-bottom: .5em;"><button type="button" style="width: 90px;" class="btn btn-{{installLabel}} btn-xs" data-toggle="modal" data-target="#dependenciesRemoveModal" ng-disabled="processing">{{install}}</button></td>
  14. </tr>
  15. </table>
  16. </div>
  17. <div class="modal fade" id="dependenciesInstallModal" tabindex="-1" role="dialog" aria-labelledby="dependenciesModalLabel">
  18. <div class="modal-dialog" role="document">
  19. <div class="modal-content">
  20. <div class="modal-header">
  21. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  22. <h4 class="modal-title" id="dependenciesInstallModalLabel">Install dependencies</h4>
  23. </div>
  24. <div class="modal-body">
  25. All required dependencies have to be installed first. This may take a few minutes.<br /><br />
  26. Please wait, do not leave or refresh this page. Once the install is complete, this page will refresh automatically.
  27. </div>
  28. <div class="modal-footer">
  29. <button type="button" class="btn btn-info" ng-click="handleDependencies('internal')" data-dismiss="modal">Internal</button>
  30. <button type="button" class="btn btn-info" ng-hide="device == 'tetra' || sdAvailable == false" ng-click="handleDependencies('sd')" data-dismiss="modal">SD Card</button>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="modal fade" id="dependenciesRemoveModal" tabindex="-1" role="dialog" aria-labelledby="dependenciesModalLabel">
  36. <div class="modal-dialog" role="document">
  37. <div class="modal-content">
  38. <div class="modal-header">
  39. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  40. <h4 class="modal-title" id="dependenciesRemoveModalLabel">Remove dependencies</h4>
  41. </div>
  42. <div class="modal-body">
  43. All required dependencies will be removed. This may take a few minutes.<br /><br />
  44. Please wait, do not leave or refresh this page. Once the remove is complete, this page will refresh automatically.
  45. </div>
  46. <div class="modal-footer">
  47. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  48. <button type="button" class="btn btn-info" ng-click="handleDependencies()" data-dismiss="modal">Confirm</button>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <div ng-show="$root.status.installed" class="well">Notice: Handshakes are sent to <strong>onlinehashcrack.com</strong> api service.</div>
  58. <div class="panel panel-default" ng-show="$root.status.installed" ng-controller="OnlineHashCrack_WPAController">
  59. <div class="panel-heading">
  60. <h4 class="panel-title">WiFi WPA crack</h4>
  61. </div>
  62. <div class="panel-body">
  63. <div class="form-group">
  64. <div class="input-group">
  65. <span class="input-group-addon input-sm">Files</span>
  66. <select class="form-control input-sm" ng-model="selectedFile">
  67. <option>--</option>
  68. <option ng-repeat="file in files">{{ file }}</option>
  69. </select>
  70. </div>
  71. </div>
  72. <div ng-hide="selectedFile != '--'" class="form-group">
  73. <div class="input-group">
  74. <span class="input-group-addon input-sm">File path</span>
  75. <input type="text" class="form-control input-sm" ng-model="file" placeholder="Path to Handshake file (*.cap *.pcap *.pcapng *.hccapx). Max 200 Mb.">
  76. </div>
  77. </div>
  78. <button type="submit" class="btn btn-{{submitWPALabel}} btn-sm" ng-disabled="working || (file == '' && selectedFile == '--')" ng-click="submitWPAOnline()">{{ submitWPA }}</button>
  79. </div>
  80. </div>
  81. <div class="panel panel-default" ng-show="$root.status.installed" ng-controller="OnlineHashCrack_SettingsController">
  82. <div class="panel-heading pointer" data-toggle="collapse" data-target="#Settings">
  83. <h4 class="panel-title">Settings</h4>
  84. </div>
  85. <div id="Settings" class="panel-collapse collapse">
  86. <div class="panel-body">
  87. <div class="form-group">
  88. <div class="btn-group pull-right">
  89. <button class="btn btn-{{saveSettingsLabel}} btn-sm" ng-disabled="saving" ng-click="setSettings()">{{ saveSettings }}</button>
  90. </div>
  91. <div class="clearfix"></div>
  92. </div>
  93. <div class="form-group">
  94. <div class="input-group">
  95. <span class="input-group-addon input-sm">Email</span>
  96. <input type="text" class="form-control input-sm" ng-model="settings.email" placeholder="Notification email">
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <div class="panel panel-default" ng-show="$root.status.installed" ng-controller="OnlineHashCrack_OutputController">
  103. <div class="panel-heading">
  104. <h4 class="panel-title">Output</h4>
  105. </div>
  106. <div class="panel-body">
  107. <div class="btn-group pull-right">
  108. <button class="btn btn-danger btn-sm" ng-click="clearOutput()">Clear Log</button>
  109. </div>
  110. <div class="clearfix"></div>
  111. <pre class="scrollable-pre log-pre">{{ output }}</pre>
  112. </div>
  113. </div>