RSSAmplifier

Blog

Is a geek

Random stuff on the internet

isageek.com.brRSS feed ↗10 posts

Latest posts

Reverse Engineering the International Superstar Soccer Password System Part 2

Previously Last time, a year ago, I finally got my vacations and decided to enjoy my time by totally disconecting from the grid and...Just kidding, I decided to disassemble a game to answer a question I had for years. The game was International super star soccer and the question was, why the password for that game was so big? The answer then was that the password was basically a savestate with…

Reverse Engineering the International Superstar Soccer Password System Part 1

Does looking at this image make you feel frustrated? This is a screenshot of the game "International SuperStar Soccer Deluxe" for the Super Nintendo. Released in 1995, it was the successor of the popular "International SuperStar Soccer" for the same console. It was a very popular game at the time, and even today there are still people releasing modded versions of this game. But, besides the big…

Java Agent from scratch

Java agents are regular java code that can be included when running any java application Java agents are special because they are given access to the Instrumentation API, which allows them to change bytecode. Why would you want it? When working inside your codebase, you have total freedom. If you need to extend any logic you have many options, such as composition, inheritance, annotation…

Optionals in Java, what is it for?

I remember when optional was introduced in Java. The idea that was going around was that it was supposed to fix or alleviate the nullpointer issues. At the time I never had contact with any functional language, so when looking at how Optionals were supposed to work, I wasn't impressed. // One possible way to create an Optional String foo = functionThatReturnStringOrNull(); Optional maybeFoo =…

Thoughts on autoformatting

I am not a fan of automated formatting. Yes, I know the justifications, formatting wars and fights on what is the right or clear way to do it, but, honestly, I don't find those arguments convincing. Let's talk about the first argument, that formatting one way makes the code clearer to read. It's possible for the code to be formatted ambiguously, leading to confusion about whether certain logic…

Buffer overflow on x86_64 tutorial

On this post I will use gdb to show how the stack works, what happens when you do a function call and how a user can exploit an unchecked buffer to overwrite the stack. This tutorial assumes you are using a x86_64 linux pc. Understanding the stack The stack is a reserved space in memory where the executable stores local variables, function parameters and the return address for the function caller.…

Patching an elf binary using Ghidra

On this post I will give a simple step by step on how to use Ghidra to disassemble an elf binary on linux and patch it so we can bypass an if condition. First let's write a simple program in c that outputs a message if the arguments matches a certain string: #include <stdio.h> #include <string.h> int main(int argc, char** argv){ if (argc != 2) { printf("Please inform the password\n"); return -1; }…

Connecting my echo dot to a raspberry pi 3

Recently I wanted to connect my echo dot 3rd gen to a node-red server inside a raspberry pi 3. The best solution looks like setting up a nodered server and then configuring it to listen to my echo inside my local network. There were some issues I've ran into and hopefully this guide is usefull for you. First, set up the server by following the official guide. After installing node-red, install the…

Lines between tiles on godot tileset

If you are having issues with tilesets, like this: You may want to disable Filter and Mipmaps for your textures To do that select your texture on the FileSystem view and the Import tab on the upper left part of the screen. Then disable Filter and Mipmaps and reimport . To me for some reason it was already disabled, enabling reimporting then disabling and reimporting did the trick Hope that helps!

Simple slides with html

If I need to present some slides usually my (everyones I gues) solution was to use Powerpoint Thing is, when using powerpoint you need to be sure that the computer where you are going to do the presentation also have the (really expensive) office package. Either that or you need to use some alternative that not always render the slides the way you expected. If you go with the cloud route, you will…