Skip to content

Commit d717345

Browse files
committed
Fix typo in codebase: lables
1 parent 852c266 commit d717345

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ With the following command, you can easily analyze the Android sample and output
8080
See our demo [here](https://pulorsok.github.io/ruleviewer/web-report-demo).
8181

8282
```bash
83-
quark -a sample.apk -s -w quark_report.html
83+
quark -a sample.apk -s all_rules -w quark_report.html
8484
```
8585

86-
![](https://i.imgur.com/hG3Ag8t.png)
86+
![](https://i.imgur.com/uizHQan.jpg)
8787

8888
## Navigate the Rules
8989

quark/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def entry_point(
272272

273273
show_comparison_graph(
274274
title=f"Malicious Actions Comparison Between {len(apk)} Malwares",
275-
lables=selected_label,
275+
labels=selected_label,
276276
malware_confidences=malware_confidences,
277277
font_size=22,
278278
)

quark/utils/graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def call_graph(call_graph_analysis, output_format="png"):
217217
)
218218

219219

220-
def show_comparison_graph(title, lables, malware_confidences, font_size=22):
220+
def show_comparison_graph(title, labels, malware_confidences, font_size=22):
221221
"""
222222
show radar chart based on max label confidence of several malwares
223223
:param title: title of the graph to be displayed
@@ -246,7 +246,7 @@ def show_comparison_graph(title, lables, malware_confidences, font_size=22):
246246
fig.add_trace(
247247
go.Scatterpolar(
248248
r=malware_confidences[malware_name],
249-
theta=lables,
249+
theta=labels,
250250
fill="toself",
251251
name=malware_name,
252252
line=dict(

quark/webreport/analysis_report_layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ <h4>Sample Information</h4>
423423
<div class="row radar-chart">
424424
<div class="col-md-6"><canvas id="myChart" width="400" height="400"></canvas></div>
425425
<div class="col-md-6">
426-
<h3>Select lables to see max confidence in radare chart</h3>
426+
<h3>Select labels to see max confidence in radare chart</h3>
427427
<div class="label-group">
428428
$all_labels_html$
429429
</div>

0 commit comments

Comments
 (0)