Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

@batamhacker
batamhacker / gist:2ac6091cdc9349ea07aa9a8921b2a8cd
Created June 20, 2021 11:31 — forked from MaKyOtOx/gist:cd3157e3aae5a250c2cfcfb8ff0caf63
Install OpenVAS (Greenbone) 20.08 on Ubuntu 20.04
## Installation script for OpenVAS/Greenbone 20.08 on Ubuntu 20.08
## Tested for PatrowlEngines
## See https://patrowl.io
## Based on:
# https://kifarunix.com/install-and-setup-gvm-11-on-ubuntu-20-04/#create-gvm-service-unit-file
# https://github.com/yu210148/gvm_install/blob/master/install_gvm.sh
apt-get update && apt-get upgrade
useradd -r -d /opt/gvm -c "GVM User" -s /bin/bash gvm
mkdir /opt/gvm
#Download the Go binary
wget https://golang.org/dl/go1.15.10.linux-amd64.tar.gz
#Remove previous golang installation and extract the new one
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.15.10.linux-amd64.tar.gz
#Copy the binary to be able to use for any user
cp /usr/local/go/bin/go /usr/bin
#Add these line to your terminal config file(.bashrc/.zshrc)
{
"swagger": "2.0",
"info": {
"title": "Swagger Sample App",
"description": "Please to click Terms of service<script>alert(document.domain)</script>",
"termsOfService": "javascript:alert(document.cookie)",
"version": "1.0.1"
},
"basePath": "/v1",
"schemes": [
@batamhacker
batamhacker / JavascriptRecon.md
Created January 31, 2021 03:27
My Javascript Recon Process - BugBounty

Description

This is a simple guide to perform javascript recon in the bugbounty

Steps

  • The first step is to collect possibly several javascript files (more files = more paths,parameters -> more vulns)