Skip to content

Instantly share code, notes, and snippets.

View rudrasingh99's full-sized avatar
๐ŸŽ
Hue?

$root: Whoami rudrasingh99

๐ŸŽ
Hue?
View GitHub Profile
swagger: "2.0",
info:
title: "Swagger Sample App",
description: "Please to click Terms of service"
termsOfService: "javascript:alert(document.cookie)"
contact:
name: "API Support",
url: "javascript:alert(document.cookie)",
email: "javascript:alert(document.cookie)"
version: "1.0.1"
{
"swagger": "2.0",
"info": {
"title": "/qqq'\"><b style='x: expression(alert(1))'>",
"description": "/rrr'\"><b style='x: expression(alert(1))'>",
@rudrasingh99
rudrasingh99 / scan.py
Created February 5, 2019 21:33
Scan multiple platform for hosts.
#! /usr/bin/env python3
import requests
import re , os
from shodan import Shodan
datalist = []
class Binaryhost():
{
"swagger": "2.0",
@rudrasingh99
rudrasingh99 / scanio.sh
Created August 12, 2018 02:10 — forked from haccer/scanio.sh
PoC script to mass-locate vulnerable subdomains using results from Rapid7's Project Sonar
#!/bin/bash
# Usage : ./scanio.sh <save file>
# Example: ./scanio.sh cname_list.txt
# Premium
function ech() {
spinner=( "|" "/" "-" "\\" )
while true; do
for i in ${spinner[@]}; do
echo -ne "\r[$i] $1"
@rudrasingh99
rudrasingh99 / bash_cheatsheet.md
Created August 9, 2018 20:54 — forked from lee2sman/bash_cheatsheet.md
bash scripting cheatsheet

Bash scripting cheatsheet

  • by Lee2sman
  • Updated 2017-09-18

Bash shebang

  • #!/usr/bin/env bash for portability, or less good, #!/bin/bash

Commenting

@rudrasingh99
rudrasingh99 / bash-cheatsheet.sh
Created August 9, 2018 20:54 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04

API workthough

  1. Open a browser

    # start an instance of firefox with selenium-webdriver
    driver = Selenium::WebDriver.for :firefox
    # :chrome -> chrome
    # :ie     -> iexplore
    
  • Go to a specified URL
@rudrasingh99
rudrasingh99 / tmux.md
Created July 4, 2018 17:02 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a