Skip to content

Commit

Permalink
Merge Java and Android categories
Browse files Browse the repository at this point in the history
Merge Java and Android categories into Java/Android to make it easier to
find the tools.
  • Loading branch information
Ana06 committed Oct 6, 2023
1 parent c582063 commit 7593455
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 16 deletions.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/new_metapackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ body:
description: Which category should this tool be installed to?
options:
- Active Directory
- Android
- Java/Android
- Cloud
- Command & Control
- Credential Access
Expand All @@ -65,7 +65,6 @@ body:
- Hex Editors
- Information Gathering
- InnoSetup
- Java
- Javascript
- Lateral Movement
- Networking
Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/new_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ body:
description: Which category should this tool be installed to?
options:
- Active Directory
- Android
- Java/Android
- Cloud
- Command & Control
- Credential Access
Expand All @@ -84,7 +84,6 @@ body:
- Hex Editors
- Information Gathering
- InnoSetup
- Java
- Javascript
- Lateral Movement
- Networking
Expand Down
3 changes: 1 addition & 2 deletions categories.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Active Directory
Android
Java/Android
Cloud
Command & Control
Credential Access
Expand All @@ -13,7 +13,6 @@ Forensic
Hex Editors
Information Gathering
InnoSetup
Java
Javascript
Lateral Movement
Networking
Expand Down
2 changes: 1 addition & 1 deletion packages/apktool.vm/apktool.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>apktool.vm</id>
<version>2.8.1</version>
<version>2.8.1.20231006</version>
<authors>Connor Tumbleson, Ryszard Wisniewski</authors>
<description>A tool for reverse engineering 3rd party, closed, binary Android apps.</description>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion packages/apktool.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Import-Module vm.common -Force -DisableNameChecking

try {
$toolName = 'apktool'
$category = 'Android'
$category = 'Java/Android'
$shimPath = 'bin\apktool.exe'

$shortcutDir = Join-Path ${Env:TOOL_LIST_DIR} $category
Expand Down
2 changes: 1 addition & 1 deletion packages/apktool.vm/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ $ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'apktool'
$category = 'Android'
$category = 'Java/Android'

VM-Remove-Tool-Shortcut $toolName $category
2 changes: 1 addition & 1 deletion packages/bytecodeviewer.vm/bytecodeviewer.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>bytecodeviewer.vm</id>
<version>2.11.2</version>
<version>2.11.2.20231006</version>
<authors>Konloch</authors>
<description>A lightweight user-friendly Java/Android Bytecode Viewer, Decompiler and more.</description>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion packages/bytecodeviewer.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'Bytecode Viewer'
$category = 'Java'
$category = 'Java/Android'

$exeUrl = 'https://github.com/Konloch/bytecode-viewer/releases/download/v2.11.2/Bytecode-Viewer-2.11.2.jar'
$exeSha256 = '536ad387424106083f76cd0cb7c051a22aff21f08663ba2539c11f1ddef9147f'
Expand Down
2 changes: 1 addition & 1 deletion packages/bytecodeviewer.vm/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ $ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'Bytecode Viewer'
$category = 'Java'
$category = 'Java/Android'

VM-Uninstall $toolName $category
2 changes: 1 addition & 1 deletion packages/dex2jar.vm/dex2jar.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>dex2jar.vm</id>
<version>2.3</version>
<version>2.3.0.20231006</version>
<authors>@pxb1988</authors>
<description>Tools to work with android .dex and java .class files.</description>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion packages/dex2jar.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'd2j-dex2jar'
$category = 'Java'
$category = 'Java/Android'

$zipUrl = 'https://github.com/pxb1988/dex2jar/releases/download/v2.3/dex2jar-v2.zip'
$zipSha256 = 'd0507b6277193476ae29351905b5fa9b20d1a9a5ce119b46d87e5b188edf859e'
Expand Down
2 changes: 1 addition & 1 deletion packages/dex2jar.vm/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ $ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'd2j-dex2jar'
$category = 'Java'
$category = 'Java/Android'

VM-Uninstall $toolName $category
2 changes: 1 addition & 1 deletion scripts/test/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def check(self, path):
# utf-8-sig ignores BOM
file_content = open(path, "r", encoding="utf-8-sig").read()

match = re.search("\$category = ['\"](?P<category>[\w &]+)['\"]", file_content)
match = re.search("\$category = ['\"](?P<category>[\w &/]+)['\"]", file_content)
if not match or match.group("category") not in self.CATEGORIES:
return True
return False
Expand Down

0 comments on commit 7593455

Please sign in to comment.