Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tz committed Sep 11, 2024
1 parent 5e5c8ba commit 1a46745
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion web/explorer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ capa Explorer Web is a browser-based user interface for exploring program capabi
2. **Import capa results**:

- Click on "Upload from local" to select a capa analysis document file from your computer (with a version higher than 7.0.0).
- You can generate the analysis document by running `capa.exe -j results.json sample.exe_`
- You can generate the analysis document by running `capa.exe -j results.json sample.exe_`
- Or, paste a URL to a capa JSON file and click the arrow button to load it.
- Like for the other import mechanisms, loading of both plain (`.json`) and GZIP compressed JSON (`.json.gz`) files is supported).
- Alternatively, use the "Preview Static" or "Preview Dynamic" for sample data.
Expand Down
6 changes: 5 additions & 1 deletion web/explorer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>capa Explorer Web</title>
<script defer src="https://cloud.umami.is/script.js" data-website-id="0bb8ff9e-fbcc-4ee2-9f9f-b337a2e8cc7f"></script>
<script
defer
src="https://cloud.umami.is/script.js"
data-website-id="0bb8ff9e-fbcc-4ee2-9f9f-b337a2e8cc7f"
></script>
</head>
<body>
<div id="app"></div>
Expand Down
24 changes: 17 additions & 7 deletions web/explorer/src/components/DescriptionPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,22 @@
<p class="text-700 text-sm m-0">New to capa? Follow these quick steps to get started:</p>
<p class="text-700 text-sm mb-3"></p>
<ol class="text-left text-sm pl-4 mb-3">
<li class="mb-2"><a href="https://github.com/mandiant/capa/blob/master/doc/installation.md" class="underline">Install capa</a>, e.g.
<ul>
<li>download the latest <a href="https://github.com/mandiant/capa/releases" class="underline">standalone executable release</a></li>
<li>or run <code>$ pip install flare-capa</code></li>
</ul>
<li class="mb-2">
<a href="https://github.com/mandiant/capa/blob/master/doc/installation.md" class="underline"
>Install capa</a
>, e.g.
<ul>
<li>
download the latest
<a href="https://github.com/mandiant/capa/releases" class="underline"
>standalone executable release</a
>
</li>
<li>or run <code>$ pip install flare-capa</code></li>
</ul>
</li>
<li class="mb-2">Analyze a sample and save the JSON results:
<li class="mb-2">
Analyze a sample and save the JSON results:
<ul>
<li><code>$ capa -j /path/to/file > result.json</code></li>
</ul>
Expand All @@ -43,7 +52,8 @@
</div>
<div>
<p class="text-base p-3 max-w-75rem" style="max-width: 75ch">
You can download capa Explorer Web for offline usage via the download button in the top-right corner of this page.
You can download capa Explorer Web for offline usage via the download button in the top-right corner of
this page.
</p>
</div>
</div>
Expand Down

0 comments on commit 1a46745

Please sign in to comment.