Skip to content

Commit

Permalink
2.0.0 new Features ♥
Browse files Browse the repository at this point in the history
  • Loading branch information
hermescanutodesouza committed Jun 24, 2020
1 parent fedb98a commit aca156b
Show file tree
Hide file tree
Showing 105 changed files with 13,363 additions and 3,496 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/insider.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

165 changes: 0 additions & 165 deletions LICENSE.md

This file was deleted.

8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ BUILD_FLAGS = -a -ldflags '-s -w' -buildmode=pie
GO_FLAGS = -x
NT_BUILD_FLAGS = -a -ldflags '-s -w' -buildmode=exe

run_tests:
@ go clean -testcache
@ go test -v ./...

buildDebug:
@ go build -o insider

Expand All @@ -14,14 +10,14 @@ macos:
linux64:
@ GOOS=linux GOARCH=amd64 go build ${BUILD_FLAGS} ${GO_FLAGS} -o insider-linux-amd64
linux32:
@ GOOS=linux GOARCH=386 go build ${BUILD_FLAGS} ${GO_FLAGS} -o insider-linux-x86
@ GOOS=linux GOARCH=386 go build ${GO_FLAGS} -o insider-linux-x86
win32:
@ GOOS=windows GOARCH=386 go build ${NT_BUILD_FLAGS} ${GO_FLAGS} -o insider-x86.exe
win64:
@ GOOS=windows GOARCH=amd64 go build ${NT_BUILD_FLAGS} ${GO_FLAGS} -o insider-x64.exe
all:
@ GOOS=linux GOARCH=amd64 go build ${BUILD_FLAGS} ${GO_FLAGS} -o insider-linux-amd64
@ GOOS=linux GOARCH=386 go build ${BUILD_FLAGS} ${GO_FLAGS} -o insider-linux-x86
@ GOOS=linux GOARCH=386 go build ${GO_FLAGS} -o insider-linux-x86
@ GOOS=windows GOARCH=386 go build ${NT_BUILD_FLAGS} ${GO_FLAGS} -o insider-x86.exe
@ GOOS=windows GOARCH=amd64 go build ${NT_BUILD_FLAGS} ${GO_FLAGS} -o insider-x64.exe
@ GOOS=darwin GOARCH=amd64 go build -o insider-macos-amd64
30 changes: 19 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,40 +41,48 @@ OBS.: The target folder should contain all the source code that should be analyz
````
./insider --help
Usage of insider:
Insider is the CLI project from the Insider Application Security Team for the community
Usage :
-force
Overwrite the results directory. Insider does not overwrite the results directory by default - Optional
Overwrite the results directory. Insider does not overwrite the results directory by default - Optional
-no-banner
Skips the banner printing (Useful for CI/Docker environments) - Optional
Skips the banner printing (Useful for CI/Docker environments) - Optional
-no-html
Skips the report generation in the HTML format - Optional
Skips the report generation in the HTML format - Optional
-no-json
Skips the report generation in the JSON format - Optional
Skips the report generation in the JSON format - Optional
-security int
Set the Security level, values ​​between 0 and 100
-target string
Specify where to look for files to run the specific ruleset
Specify where to look for files to run the specific ruleset.
-target <folder>
-target <myprojectfolder>
-tech string
Specify which technology ruleset to load. (Valid values are: android, ios, csharp, javascript)
Specify which technology ruleset to load. (Valid values are: android, ios, csharp, javascript)
-tech javascript
-tech csharp
-v Set true for verbose output
Example of use :
insider -tech javascript -target myprojectfolder
insider -tech=android -target=myandroidfolder
insider -tech android -target <myfolder> no-html
````

## Example

````
#Check the correct release for your environment
wget https://github.com/insidersec/insider/releases/download/1.0.1/insider-linux-amd64
wget https://github.com/insidersec/insider/releases/download/2.0.0/insider-linux-amd64
chmod +x insider-linux-amd64
./insider-linux-amd64 -tech android -target example-master/
cat results/report.json
./insider-linux-amd64 -tech=javascript -target=<projectfolder>
````

### Contribution

- Your contributions and suggestions are heartily ♥ welcome. [See here the contribution guidelines.](/.github/CONTRIBUTING.md) Please, report bugs via [issues page.](https://github.com/insidersec/insider/issues) See here the [security policy.](/.github/SECURITY.md) for report security issues. (✿ ◕‿◕)

- You can also see this same documentation in [Portuguese](/documentation/PT_BR.md) or in [Spanish](/documentation/ES.md).

### License

Expand Down
Loading

0 comments on commit aca156b

Please sign in to comment.