Skip to content

Instantly share code, notes, and snippets.

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

Fray Dalton Fray117

🏠
Working from home
View GitHub Profile
@Fray117
Fray117 / xss.html
Created December 18, 2018 16:59
Page containing JS
<!DOCTYPE html>
<html>
<head>
<title>XSS Sample</title>
<style type="text/css">
html {
background-image: url('https://reset.ga/Eromanga.png');
background-size: cover;
}
@Fray117
Fray117 / xProxify.php
Last active March 7, 2019 17:41
Exploiter Proxy
<?php
/**
* Proxy Tunnel
*
* @author Fray117
* @package ExploiterID/Proxy
* @version 0.4.1
*/
// Remove Execution Time Limit
@Fray117
Fray117 / LapakLetter.html
Created February 3, 2019 12:52
Bukalapak Letter
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8">
<title>Segera Lakukan Konfirmasi Email</title>
<style>body {
width: 100% !important;
}
@Fray117
Fray117 / simple_login.html
Created August 27, 2019 12:29
Simple Login Template
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="twitter:card" value="RESTRICTED AREA ON GLOBEDNET">
<meta property="og:title" content="RESTIRCTED AREA ON GLOBEDNET">
<meta property="og:type" content="website">
<title>Authorization Gate</title>
<style media="screen" type="text/css">
'-'
' '
'&'
'^'
'*'
' or ''-'
' or '' '
' or ''&'
' or ''^'
' or ''*'
@Fray117
Fray117 / censor.php
Created August 12, 2021 05:41
Simple censor for sensitive data
<?php
/**
* Censor the part of string
*
* @param mixed $str
* @param mixed $mask
* @param int $intensity
* @param int $reveal
* @return string
*/
@Fray117
Fray117 / Arrow.java
Created March 14, 2022 09:13
Generate Horizontal Pyramid
import java.util.Scanner;
public class Arrow {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Size: ");
int line = Integer.parseInt(input.nextLine());
int median = line / 2;
@Fray117
Fray117 / yt-unsubscriber.js
Last active April 15, 2022 13:04
YouTube Auto Unsubscribe
var container = document.getElementById("grid-container").getElementsByClassName("ytd-expanded-shelf-contents-renderer");
for (let i = 0; i < container.length; i++) {
setTimeout(() => {
container[i].querySelector("[aria-label^='Unsubscribe from']").click();
document.getElementById("confirm-button").click();
console.log(`${container[i].children[1].children[1].children[0].children[0].children[0].innerText
} unsubscribed (${i} out of ${container.length})`);
}, 2000);
}
function CamelCase(str) {
return str.split(/\W/).map(val => {
let raw = val.toLowerCase()
return raw.charAt(0).toUpperCase() + raw.slice(1)
}).join('');
}
// keep this function call here
console.log(CamelCase("BOB loves-coding"));
function generatePlayers(player, dice) {
let players = []
for (let id = 0; id < player; id++) {
let dices = []
for (let die = 0; die < dice; die++) {
dices.push(0)
}