Skip to content

Instantly share code, notes, and snippets.

View Prabesh01's full-sized avatar

Prabesh Sapkota Prabesh01

View GitHub Profile
@JohannesMP
JohannesMP / EnableDiscordDevExperiments.md
Last active July 19, 2024 10:12 — forked from ExordiumX/betaenabler.js
Enabling Discord Dev Experiments on Discord for Windows (2022-02)

Enable Dev Experiments in Discord for Windows

image

This guide shows how to enable dev mode for the Discord desktop application running on Windows (as of February 2022).

This can be used to view beta experiments to try features currently in development that are included but hidden by default in Discord release builds.


@approovm
approovm / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Last active July 2, 2024 19:10
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system
@ullaskunder3
ullaskunder3 / README.md
Last active June 13, 2024 15:00
Detail flutter installation without android studio just using cmdline-tools, git, cmd
@TheBinitGhimire
TheBinitGhimire / README.md
Last active May 30, 2024 11:10
Dangling DNS Records leading to Sub-domain Takeover on api.techprep.fb.com!

Dangling DNS Records on api.techprep.fb.com - $500!

Read proper write-up here: https://publish.whoisbinit.me/subdomain-takeover-on-api-techprep-fb-com-through-aws-elastic-beanstalk

I have included my script in another file (main.sh), which I used in discovering this vulnerability.

I didn't do any form of manual work in finding this vulnerability, and my workflow was fully automated with Bash scripting.

I have shortened my actual script, and only included the part which helped me in finding this vulnerability in the main.sh file.

@TheBinitGhimire
TheBinitGhimire / forward.php
Created December 28, 2020 11:03
Get Exact GPS Location of Webpage Visitors with HTML5 Geolocation API and PHP!
<?php
/*
Get Exact GPS Location of Webpage Visitors with HTML5 Geolocation API and PHP!
Author: Binit Ghimire
GitHub Profile: https://github.com/TheBinitGhimire
Author URL: https://WHOISbinit.me/
_________________
|| How to Use? ||
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
@MeguminSama
MeguminSama / Discord Experiments.js
Last active July 15, 2024 21:37
Discord Experiments.js
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]);
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
});
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";
@tyliec
tyliec / bot.js
Created July 19, 2020 01:11
Discord Speech to Text Bot
// Starter Code: https://gist.github.com/eslachance/3349734a98d30011bb202f47342601d3#file-index_v12-js
const Discord = require("discord.js");
const speech = require('@google-cloud/speech');
const fs = require('fs');
/*
DISCORD.JS VERSION 12 CODE
*/
const client = new Discord.Client();
@tanaikech
tanaikech / submit.md
Last active March 20, 2024 04:21
Upload Files to Google Drive using Javascript

Upload Files to Google Drive using Javascript

News

At October 11, 2019, I published a Javascript library to to run the resumable upload for Google Drive. When this is used, the large file can be uploaded. You can also use this js library.

Description

This is a sample script for uploading files to Google Drive using Javascript. The files are uploaded by Drive API v3. gapi.client.drive.files.create() can create an empty file on Google Drive. But it cannot directly upload files including contents. I think that this might not be able to upload files and metadata with the multipart/related, although this might be resolved by the future update. So now, as one of workarounds, I use using XMLHttpRequest.

  • This sample uses gapi.
  • Before you use this, please enable Drive API at API console and carr