mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 09:27:32 +00:00
GitBook: [#3095] No subject
This commit is contained in:
parent
5449a9d705
commit
c7aae78821
1 changed files with 19 additions and 16 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## General
|
## General
|
||||||
|
|
||||||
[**https://owasp.org/www-community/Source\_Code\_Analysis\_Tools**](https://owasp.org/www-community/Source_Code_Analysis_Tools#)
|
[**https://owasp.org/www-community/Source\_Code\_Analysis\_Tools**](https://owasp.org/www-community/Source\_Code\_Analysis\_Tools#)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
https://www.sonarqube.org/downloads/
|
https://www.sonarqube.org/downloads/
|
||||||
|
@ -20,20 +20,20 @@ https://libraries.io/pypi/detect-secrets
|
||||||
|
|
||||||
## JavaScript
|
## JavaScript
|
||||||
|
|
||||||
```text
|
```
|
||||||
https://jshint.com/
|
https://jshint.com/
|
||||||
https://github.com/jshint/jshint/
|
https://github.com/jshint/jshint/
|
||||||
```
|
```
|
||||||
|
|
||||||
## NodeJS
|
## NodeJS
|
||||||
|
|
||||||
```text
|
```
|
||||||
https://github.com/ajinabraham/nodejsscan
|
https://github.com/ajinabraham/nodejsscan
|
||||||
```
|
```
|
||||||
|
|
||||||
## Electron
|
## Electron
|
||||||
|
|
||||||
```text
|
```
|
||||||
https://github.com/doyensec/electronegativity
|
https://github.com/doyensec/electronegativity
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -70,16 +70,16 @@ jar cmvf META-INF/MANIFEST.MF test.jar test.class
|
||||||
```
|
```
|
||||||
|
|
||||||
| Task | Command |
|
| Task | Command |
|
||||||
| :--- | :--- |
|
| --------------- | --------------------------------------------------------- |
|
||||||
| Execute Jar | java -jar \[jar\] |
|
| Execute Jar | java -jar \[jar] |
|
||||||
| Unzip Jar | unzip -d \[output directory\] \[jar\] |
|
| Unzip Jar | unzip -d \[output directory] \[jar] |
|
||||||
| Create Jar | jar -cmf META-INF/MANIFEST.MF \[output jar\] \* |
|
| Create Jar | jar -cmf META-INF/MANIFEST.MF \[output jar] \* |
|
||||||
| Base64 SHA256 | sha256sum \[file\] \| cut -d' ' -f1 \| xxd -r -p \| base64 |
|
| Base64 SHA256 | sha256sum \[file] \| cut -d' ' -f1 \| xxd -r -p \| base64 |
|
||||||
| Remove Signing | rm META-INF/_.SF META-INF/_.RSA META-INF/\*.DSA |
|
| Remove Signing | rm META-INF/_.SF META-INF/_.RSA META-INF/\*.DSA |
|
||||||
| Delete from Jar | zip -d \[jar\] \[file to remove\] |
|
| Delete from Jar | zip -d \[jar] \[file to remove] |
|
||||||
| Decompile class | procyon -o . \[path to class\] |
|
| Decompile class | procyon -o . \[path to class] |
|
||||||
| Decompile Jar | procyon -jar \[jar\] -o \[output directory\] |
|
| Decompile Jar | procyon -jar \[jar] -o \[output directory] |
|
||||||
| Compile class | javac \[path to .java file\] |
|
| Compile class | javac \[path to .java file] |
|
||||||
|
|
||||||
## Go
|
## Go
|
||||||
|
|
||||||
|
@ -87,7 +87,10 @@ jar cmvf META-INF/MANIFEST.MF test.jar test.class
|
||||||
https://github.com/securego/gosec
|
https://github.com/securego/gosec
|
||||||
```
|
```
|
||||||
|
|
||||||
### PHP
|
## PHP
|
||||||
|
|
||||||
[Psalm](https://phpmagazine.net/2018/12/find-errors-in-your-php-applications-with-psalm.html) and [PHPStan](https://phpmagazine.net/2020/09/phpstan-pro-edition-launched.html).
|
[Psalm](https://phpmagazine.net/2018/12/find-errors-in-your-php-applications-with-psalm.html) and [PHPStan](https://phpmagazine.net/2020/09/phpstan-pro-edition-launched.html).
|
||||||
|
|
||||||
|
## Solidity
|
||||||
|
|
||||||
|
* [https://www.npmjs.com/package/solium](https://www.npmjs.com/package/solium)
|
||||||
|
|
Loading…
Reference in a new issue