CodeOnBy - In Between Bytes
  • Home
  • Programming
    • JavaScript
    • Python
  • System
    • Cross-platform
    • Linux
    • macOS
    • Windows
  • Gear
  • About Me
Home
Programming
    JavaScript
    Python
System
    Cross-platform
    Linux
    macOS
    Windows
Gear
About Me
CodeOnBy - In Between Bytes
  • Home
  • Programming
    • JavaScript
    • Python
  • System
    • Cross-platform
    • Linux
    • macOS
    • Windows
  • Gear
  • About Me
Browsing Category
Data Recovery Python

Python for Data Recovery

May 7, 2022 1 Comment

What’s up yall!

In this post we’ll take a look at Python for data recovery.

We’ll be covering a script I made that reads through a disk (in this example, a USB) and checks for specific file signatures in an attempt to recover photos and images (.jpg) from said disk.

If you haven’t seen my previous post about data recovery using a hex editor, I highly recommend it since a lot of the knowledge from that post will be automated using this script.

I’ll also get into how you can use this script to search for other types of files later on… 😉

Let’s get into the tutorial!

Continue reading
Reading time: 4 min
Share:
Written by: codeboss
Data Recovery

Data Recovery using Hex Editor

April 8, 2022 1 Comment

What’s good?

In this post we’ll see how to do data recovery using a hex editor.

If you used a data recovery program in the past you might have asked yourself: how do they work?

That is exactly what we’ll be covering on this post. I’m sure by the end of it you’ll have a broader understanding of what files look like in terms of raw bytes and how to identify them in a drive.

Let’s jump into it! 😉

Continue reading
Reading time: 3 min
Share:
Written by: codeboss
Programming Python

File Transfer in Python 3

March 28, 2022 No Comments

In this post, we’ll check out file transfer in Python 3 with file size verification check.

In many Python scripts you’ll come across the need for sending and receiving files over the network, so I decided to make this tutorial for a simple yet stable set of scripts to implement whenever needed.

We’ll only use standard Python libraries included with a default installation: socket, time, os and sys.

One nice little detail we’ll implement is file size verification, so that the receiving party can be sure they received the file with the exact amount of bytes the sender intended.

Let’s check it out!

Continue reading
Reading time: 2 min
Share:
Written by: codeboss
Hacking SQL Injection

Intro to SQL Injection (Lab #1)

March 24, 2022 No Comments

In this video we’ll dive into SQL injection for beginners using both automated tools and then replicating the process by hand so we can truly understand what is going on behind the curtains.

To further comprehend this vulnerability, we’ll also take a look at the code behind the web pages: both the PHP scripts and also the SQL statements to digest it properly.

SQL injection has been a heavy contender in OWASP’s top 10 vulnerabilities every year for over a decade at this point, so safe to say that its here to stay in current web apps and in the future.

Let’s begin by clarifying what exactly is SQL / code injection…

Continue reading
Reading time: 5 min
Share:
Written by: codeboss
Linux System Windows

Apache, MySQL & PHP Setup (Win/Linux) for SQL Injection Labs

March 22, 2022 1 Comment

Hello guys.

In this post we’ll take a look at how to setup Apache, MySQL and PHP on Windows and Linux. This setup is mainly for a series of SQL injection labs that I’ll be posting in the upcoming days (you’ll find the link for the HTML/PHP below). For this reason, it will be a development setup not a secure one. 😉

What will be covered:

  • Installation of Apache, MySQL and PHP
  • Configuration of each service where needed
  • Creating MySQL user, database and grant privileges
  • Download HTML/PHP pages and configure it properly

Since I’ll be doing a series of SQL injection posts, I figured it would make sense to create this post given that understanding the installation process, database users/permissions all contribute to the vulnerability.

With that said, let’s begin!

Continue reading
Reading time: 5 min
Share:
Written by: codeboss
Page 1 of 81234»...Last »

Recent Posts

  • Python for Data Recovery
  • Data Recovery using Hex Editor
  • File Transfer in Python 3
  • Intro to SQL Injection (Lab #1)
  • Apache, MySQL & PHP Setup (Win/Linux) for SQL Injection Labs

Recent Comments

  • Brian on Brute-Force VeraCrypt Encryption
  • zhiftyDK on ARP Spoofing with Scapy
  • Alex on Python for Data Recovery
  • john on Data Recovery using Hex Editor
  • Someone1611 on Bind Shell in Python 3

About me

My name is Felipe! I’m a programmer from NY.

Blogs about coding, operating systems, network and security.

Hosting

© 2020 Copyright CodeOnBy // All rights reserved
In Between Bytes