Skip to content

Instantly share code, notes, and snippets.

Avatar

Lucas7yoshi

View GitHub Profile
@Lucas7yoshi
Lucas7yoshi / FortniteAuth.cs
Created Sep 21, 2019
Fortnite authorization grabber, gets you the eg1 token. Requires newtonsoft.json and RestSharp. Pass as "Authorization" "bearer " + the resulting token to get endpoints.
View FortniteAuth.cs
public string getAuthFullFlow(string username, string password)
{
var cli1 = new RestClient("https://www.epicgames.com/id/api/csrf");
var req1 = new RestRequest(Method.GET);
var ans1 = cli1.Execute(req1);
var xsrftoken = ans1.Cookies.First(x => x.Name == "XSRF-TOKEN").Value;
var cli2 = new RestClient("https://www.epicgames.com/id/api/login");
var req2 = new RestRequest(Method.POST);
foreach (var i in ans1.Cookies)
View Program.cs
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using QuickType;
namespace XPathTracker
{
class Program
{
View aes
0xe47f0fe3c66bc50d65a92f93609710feb580bd982017a7d3fc6de7872197e0casadasd gggg
View ExplosiveBow_Athena_SR_Ore_T03.json
"ExplosiveBow_Athena_SR_Ore_T03": {
"export_type": "RowStruct",
"Spread": 0.0,
"SpreadDownsights": 0.0,
"StandingStillSpreadMultiplier": 0.0,
"AthenaCrouchingSpreadMultiplier": 1.0,
"AthenaJumpingFallingSpreadMultiplier": 1.0,
"AthenaSprintingSpreadMultiplier": 1.0,
"MinSpeedForSpreadMultiplier": 15000.0,
"MaxSpeedForSpreadMultiplier": 16000.0,
View useless.cs
var DailyTime = "00:00:10";
Console.WriteLine(DailyTime);
var timeParts = DailyTime.Split(new char[1] { ':' });
var dateNow = DateTime.UtcNow;
var date = new DateTime(dateNow.Year, dateNow.Month, dateNow.Day,
int.Parse(timeParts[0]), int.Parse(timeParts[1]), int.Parse(timeParts[2]));
TimeSpan ts;
if (date > dateNow)
ts = date - dateNow;
View bruteforce.cs
using System;
using System.Net;
using System.Threading.Tasks;
namespace ImageFinder
{
class Program
{
static void Main(string[] args)
{
View parse.cs
// <auto-generated />
//
// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do:
//
// using QuickType;
//
// var news = News.FromJson(jsonString);
namespace QuickType
{
View read.txt
The tweet about a silenced shotgun is fake.
View aes
██████╗ ██╗ ██╗██████╗ ██████╗ ███████╗███████╗ ██╗ █████╗ ███████╗███████╗██████╗ ███████╗██╗ ██╗ ██╗ █████╗ █████╗ ███████╗ █████╗ ██╗ ██╗██████╗ ██████╗ ███████╗███████╗███████╗██████╗ █████╗ ██████╗ ███████╗██████╗ █████╗ ███████╗██████╗ ██████╗ █████╗ █████╗ ██╗██╗ ██╗██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗ ██████╗ ██████╗ █████╗ ██████╗ ███████╗██████╗ █████╗ ██████╗ ██████╗ ██████╗ ███████╗██╗ ██╗ ██████╗ █████╗ ██████╗ █████╗ ██████╗ ███████╗██╗ ██╗███████╗ ██████╗
██╔═████╗╚██╗██╔╝╚════██╗██╔════╝ ██╔════╝██╔════╝███║██╔══██╗██╔════╝██╔════╝╚════██╗╚════██║██║ ██║███║██╔══██╗██╔══██╗██╔════╝██╔══██╗██║ ██║╚════██╗██╔══██╗╚════██║██╔════╝╚════██║╚════██╗██╔══██╗██╔══██╗╚════██║╚════██╗██╔══██╗██╔════╝██╔══██╗██╔════╝ ██╔══██╗██╔══██╗███║██║ ██║██╔══██╗╚════██╗██╔══██╗██╔═████╗╚════██╗██╔═████╗╚════██╗██╔════╝██╔════╝██╔════╝██╔══██╗██╔══██╗██╔════╝╚════██╗██╔══██╗██╔══██╗██╔══██╗╚════██╗██╔════╝██║ ██║██╔═████╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝██
View stacker.cs
// Make a variable of: List<Image>
// I'm not going to give any support other than saying that you need to run this in a form app in c#
// It assumes a image size of 256 x 256, change the values at will.
var numperrow = 4;
var w = 256 * numperrow;
int h = int.Parse(Math.Ceiling(double.Parse(imgs.Count.ToString()) / numperrow).ToString()) * 256;
if (imgs.Count * 256 < 256 * numperrow)
{
w = imgs.Count * 256;