Skip to content

Instantly share code, notes, and snippets.

View sei-vsarvepalli's full-sized avatar

Vijay Sarvepalli sei-vsarvepalli

View GitHub Profile
async function rclick(me,x,m,d,e) {
for(let y in x) {
if(x[y].offsetParent === null)
continue;
console.log(me.done);
if ('done' in me && me.done.findIndex(t => t == x[y]) > -1) {
console.log("done",me,x[y]);
continue;
}
let dgroup = me.parentElement.parentElement; console.log(dgroup);
@sei-vsarvepalli
sei-vsarvepalli / Decision_Point.schema.json
Last active September 21, 2023 20:03
SSVC Schemas and Example data
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Decision Point schema definition for SSVC",
"description": "This provides a schema for one or more Decision Point(s) to be defined as part of an SSVC Decisions",
"type": "object",
"definitions": {
"option": {
"type": "object",
"properties": {
"key": {
import os
from bigvince import settings
from django.contrib.auth.models import User
from django.test import RequestFactory
from vince.views import TicketView
django.setup()
def test_ticket_view(ticket_id):
try:
url=f'vince/ticket/{ticket_id}/'
#### A whitelist to allow only specific domains access from
#### MS Exchange environment to prevent SSRF leaving server environment.
#### Squid whitelist restricted - then deny all ####
#acl whitelist dstdomain "/etc/squid/microsoft-update-whitelist.txt"
#http_access allow devicenet whitelist
#http_access allow localnet whitelist
#http_access allow localhost whitelist
#http_access allow localhost tolocal
#http_access deny all
.activedirectory.windowsazure.com
@sei-vsarvepalli
sei-vsarvepalli / CVE Affected Products Viewer.md
Last active August 12, 2022 17:22
Friendly display of CVE 5 Affected Products information

CVE QWG Affected Products Viewer

Description

CVE Quality Working Group(QWG) has been working to support CVE Website project to display Affected Products section of a CVE5 JSON record.

The files here display.html and pv.js attempts to do so. You can see a live demo of how this will work at https://democert.org/vulnogram/pview/

@sei-vsarvepalli
sei-vsarvepalli / pulseversion.py
Last active January 6, 2022 05:46 — forked from rxwx/pulseversion.py
Pulse Secure Version Scanner
import requests
import sys
import re
import semver
import json
import signal
import warnings
warnings.filterwarnings("ignore")
HEADERS = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"}