Skip to content

Instantly share code, notes, and snippets.

View Tustin's full-sized avatar

Josh Tustin

View GitHub Profile
import sys, os, struct, glob
from collections import OrderedDict
class TrophyData(object):
def __init__(self, name, data, buffer_size, actual_file_size):
self.name = name
self.data = data
self.buffer_size = buffer_size
self.actual_file_size = actual_file_size
[AssetHotfix]
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_SR_Ore_T03;EnvDmgPB;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_SR_Ore_T03;EnvDmgMid;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_SR_Ore_T03;EnvDmgLong;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_SR_Ore_T03;EnvDmgMaxRange;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_VR_Ore_T03;EnvDmgPB;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_VR_Ore_T03;EnvDmgMid;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_VR_Ore_T03;EnvDmgLong;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Assault_LMG_Athena_VR_Ore_T03;EnvDmgMaxRange;25
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Pistol_Scavenger_Athena_R_Ore_T03;FiringRate
E:\Code\Go\src\github.com\Tustin\psn-dob>go run main.go
trying {1995 1 1}
set proxy: 203.77.230.115:1080
trying {1995 1 1}
set proxy: 145.239.4.43:8080
trying {1995 1 1}
set proxy: 76.3.32.22:29214
trying {1995 1 1}
trying {1995 1 2}
trying {1995 1 3}
QG7X-PFQ70-WLDE
MTVB-NJ5YZ-RK0N
RW6P-PW4ZN-T3F0
ZXHL-35ELN-KWW6
CS1Q-34GPF-NLR1
7Z6L-89X4D-3457
QBWP-5GTGC-401L
988P-8DL97-REWF
3LLY-TXH44-27CN
PTFR-43ZDP-LVDE
def zipper (arr1, arr2)
if !arr2.empty?
zipper(arr1.insert(arr1.size - 1, arr2.shift), arr2)
else
return arr1
end
end
a = [1,2]
b = [3,4,5]
void DoWhatever() {
char headerBuffer[1024];
strcpy(headerBuffer, "GET /settings.php HTTP/1.0\r\n");
strcat(headerBuffer, "Host: 127.0.0.1\r\n"); //change to server IP
strcat(headerBuffer, "SID: AAAA-AAAA-AAAA-AAAA\r\n"); //change to the user's key
strcat(headerBuffer, "User-Agent: PS3"); //not neccessary but you could do server checks to make sure its from PS3
strcat(headerBuffer, "\r\n\r\n"); //end the HTTP header
char *response = SendRequest(headerBuffer);
using System;
using System.IO;
namespace pkg_merge
{
public class Program
{
static void Main(string[] args)
{
Directory.GetFiles("pkgs");
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
//Compiled using RAGE-C by Tustin 6/15/2017
:__script_entry__
Function 0 2 0
//Auto assigning 1 statics
Push1 200
StaticSet1 0 //FXDelay01
Call @main
Return 0 0
:main
package main
import (
"bufio"
"encoding/json"
"fmt"
"io/ioutil"
"log"
"os"
"strconv"