CodeOnByte - 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
CodeOnByte - In Between Bytes
  • Home
  • Programming
    • JavaScript
    • Python
  • System
    • Cross-platform
    • Linux
    • macOS
    • Windows
  • Gear
  • About Me
Browsing Tag
code
Cross-platform Programming Python System

Port Scanner in Python 3 (pyDroid and iPhone)

April 21, 2020 1 Comment

Heyyy! How ya doing?

Finally I have some free time and able to make some more videos! Very excited to learn some more stuff and share it with you guys. 🙂

To start things off smoothly I decided to do a short Python script – a port scanner, which we’ll program in a few lines of code.

This is an idea suggested by a viewer, to do small projects using mobile devices (pyDroid on Android and vim text editor on jailbroken iPhone).

Once you figure out which device you’ll be using, lets get started…

Port Scanner Using Threads

It’s important to use threads for such a program to shorten run time. With that said, we’ll need the system, socket and threading modules.

Continue reading
Reading time: 1 min
Share:
Written by: codeboss
Cross-platform Programming Python System

Car and Object Detection in Python 3 (Tensorflow – ImageAI)

January 21, 2020 4 Comments

What’s up guys? Been a minute!

In this post we’re gonna take a look at a basic approach to do object detection in Python 3 using ImageAI and TensorFlow.

Unfortunately this post will be kind of short since I’m in the middle of studying for a certification. So let’s get to it!

Continue reading
Reading time: 1 min
Share:
Written by: codeboss
Cross-platform Programming Python System

Recursive Encryption Script (pyAesCrypt) for Python 3

January 4, 2020 No Comments

What’s up guys!

Today I decided to make a recursive encryption script for Python 3.

I had a previous post and video that touched on this same functionality.

This time, however, I decided to expand on its methods and basically make an all-in-one stop for encryption / decryption.

So its something I wanted to make for my own use and figured I might as well share it with you guys. 🙂

Beware though: recursion can be dangerous if used without knowledge. You could end up encrypting your entire system. Also this script will automatically delete the old files after encryption / decryption.

Download link is at the bottom of the post!

Script Requirements

I won’t go into any details regarding the code since I’ve already made a blog post and video going into detail for this exact code.

Anyway, you will need to install pyAesCrypt. This is easiest using pip:

Continue reading
Reading time: 1 min
Share:
Written by: codeboss
Cross-platform Programming Python System

Python Control Server – File Transfer and Encryption (4 of 8)

December 30, 2019 2 Comments

[ Part 1 – Part 2 – Part 3 – Part 4 – Part 5 – Part 6 – Part 7 – Part 8 ]

What’s up guys?

In this part we’ll be implementing file transfer and encryption.

I use these programs on my own system and you absolutely have to be able to download and upload files in order to get anything done.

Now some of you might remember in part three I mentioned that our encrypted channel wasn’t stable enough to handle several megabytes of data without any mishaps.

Because of that, I had to implement file encryption and decryption in the client as well, since we’re already working with pyAesCrypt anyway.

This allows us to, at the very least, encrypt files locally before sending them over a standard tcp tunnel – or keep them encrypted on the system.

Like much of the functionality we’re going through here, these functions could be copied and used in other code without much hassle.

File Encryption

I’ve already made some posts regarding file encryption using pyAesCrypt in the blog, most notably: recursive file encryption in Python 3.

I recommend to check that one out if you haven’t seen it yet.

In any case, file encryption with pyAesCrypt is pretty straightforward. We are basically working with the following methods:

Continue reading
Reading time: 3 min
Share:
Written by: codeboss
Cross-platform Programming Python System

Python Control Server – Traffic Encryption (2 of 8)

December 27, 2019 No Comments

[ Part 1 – Part 2 – Part 3 – Part 4 – Part 5 – Part 6 – Part 7 – Part 8 ]

What’s up guys?

Welcome to part two of the Python control server series.

In the first part of the series we made a simple plaintext control server. It allows you to run commands and control your systems from a distance.

This time we’re stepping it up and adding AES encryption to it.

Traffic Encryption

Since the plan is to eventually add more functionality to our server such as file transfer and reading documents over public networks, traffic encryption is definitely essential to the project.

Imagine you are downloading a file from your computer at home to your laptop using a hotel’s public wireless connection. It’s hard to feel safe about it without using some form of encryption.

For this and other reasons, we’ll be using pyAesCrypt to encrypt the connection to our server using AES both ways (server and client).

I have a few posts already on the topic. One specifically for recursive file encryption and another for encrypted data over the network.

This time, however, we’ll be using in-memory encryption stream to make sure our connection is safe from the server to the client and vice versa.

Continue reading
Reading time: 2 min
Share:
Written by: codeboss
Page 2 of 4«1234»

Recent Posts

  • Disk Cloning on Windows (Macrium)
  • VPN Server on Ubuntu VPS
  • Secure VPN Traffic With No Leaks
  • Brute-Force Bitcoin Wallet Recovery AI
  • Python for Data Recovery

Recent Comments

  • Python for Data Recovery – CodeOnByte on Data Recovery using Hex Editor
  • Eddie on Brute-Force VeraCrypt Encryption
  • grant on Python for Data Recovery
  • grant on Python for Data Recovery
  • Grant on Python for Data Recovery

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