Benign openbsd Download

net/libpcap 1.11.0

AArch64 (ARM64) architecture stringBuild bootstrap or tarball script basename

Evidence

References a loopback HTTP URL lines 21–28
21:39ke this:
22 generated files under directory: /tmp/visopts-W9ekBw
23 the directory will be removed when this programs finished.
24 open this link: http://localhost:39062/expr1.html
256. Open the URL at the 3rd line in a browser.
26
27Note:
281. The CFG is translated to SVG images, expr1.html embeds
References a Google API host lines 30–47
30:32ests so the web page will not work properly.
31 For Chrome, you can run it using the following command to avoid this:
32 chromium --disable-web-security
33 That's why this program starts a localhost HTTP server.
342. expr1.html uses jQuery from https://ajax.googleapis.com, so it needs Internet
35 access to work.
36"""
37
38import sys, os
39import string
40
41html_template = string.Template("""
42<html>
43 <head>
44 <title>BPF compiler optimization phases for "${expr_html}"</title>
45 <style type="text/css">
46 .hc {
47
Common web asset filename lines 50–57
50:16 50%;
51 }
52 </style>
53
54 <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"/></script>
55 <!--script type="text/javascript" src="./jquery.min.js"/></script-->
56 <script type="text/javascript">
57
Python file opened for write or append lines 241–261
241:2 'gcount': gcount,
242 'logs': encode(json.dumps([s.strip().replace("\n", "<br/>") for s in logs])),
243 }
244 with open("expr1.html", "wt") as f:
245 f.write(html_template.safe_substitute(mapping))
246
247def render_on_html(infile):
248 import subprocess
249
250 expr = None
11 lines
subprocess.check_output call lines 269–279
269:22ne
270
271 if indot == 2:
272 try:
273 svg=subprocess.check_output(['dot', '-Tsvg'], input=dot, universal_newlines=True)
274 except OSError as ose:
275 print("Failed to run 'dot':", ose)
276 print("(Is Graphviz installed?)")
277 return False
278 except subprocess.CalledProcessError as cpe:
279 print("Got an error from

Showing the top 5 files — 7 more files (189 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.