Skip to content

Instantly share code, notes, and snippets.

View pirica's full-sized avatar

Nelson Salvador pirica

View GitHub Profile
@pirica
pirica / index.html
Created November 30, 2022 22:24
My little give away + bonus
<!-- Hope it help's to someone, my little giveaway. -->
<!-- PHP WIDGET IN THE END OF HTML HOLDER-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Sequence slider give away + BONUS :)</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ruluko|Sirin+Stencil">
@pirica
pirica / FortniteAuth.cs
Created October 31, 2021 05:51 — forked from Lucas7yoshi/FortniteAuth.cs
Fortnite authorization grabber, gets you the eg1 token. Requires newtonsoft.json and RestSharp. Pass as "Authorization" "bearer " + the resulting token to get endpoints.
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)
@pirica
pirica / EpicFortniteAuthFlow.cs
Created October 31, 2021 05:32 — forked from iXyles/EpicFortniteAuthFlow.cs
Simple small OAuth flow for Epicgames new login system, 2FA support
using System;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using RestSharp;
namespace FNFlowAuthNETCore
{
public class EpicFortniteAuthFlow
{
@pirica
pirica / auth.js
Created July 24, 2021 11:01 — forked from MixV2/auth.js
Authenticating with Epic Games
// by joe/mix
const request = require("request-promise");
module.exports = {
/**
* Login to an account.
* @param {string} email
* @param {string} password
*/
async authenticate(email, password) {
@pirica
pirica / strings.xml
Created June 22, 2021 04:48 — forked from Amrsatrio/strings.xml
FPM Strings, open for translation!
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="action_accept">Accept</string>
<string name="action_add">Add</string>
<string name="action_back">Back</string>
<string name="action_close">Close</string>
<string name="action_collect">Collect</string>
<string name="action_confirm">Confirm</string>
<string name="action_continue">Continue</string>
<string name="action_decline">Decline</string>
@pirica
pirica / AccountService.java
Created June 22, 2021 03:04 — forked from Amrsatrio/AccountService.java
some epic/fortnite endpoints
package com.tb24.fn.network;
import com.google.gson.JsonObject;
import com.tb24.fn.model.account.*;
import retrofit2.Call;
import retrofit2.http.*;
import java.util.List;
import java.util.Map;
@pirica
pirica / tokens.md
Created April 28, 2021 18:08 — forked from Douile/tokens.md
Getting epic games tokens (fortnite)

A guide on how to packet sniff launcher and fortnite tokens

With images

Step by step

  1. Install and run Fiddler 4
  2. Enable Https capture and decryption
  • Open tools menu image
  • Open options
@pirica
pirica / README.md
Created July 3, 2017 15:35 — forked from hofmannsven/README.md
My simply Raspberry Pi Cheatsheet