Posts

Showing posts with the label hacker

Base64 decoder

Base64 decoder. Use at your own risk.   From wikipedia:The  term “Base64″ refers to a specific MIME content transfer encoding. It is also used as a generic term for any similar encoding scheme that encodes binary data by treating it numerically and translating it into a base 64 representation. The particular choice of base is due to the history of character set encoding: one can choose 64 characters that are both part of the subset common to most encodings, and also printable. This combination leaves the data unlikely to be modified in transit through systems, such as email, which were traditionally not 8-bit clean. The precise choice of characters is difficult. The earliest instances of this type of encoding were created for dialup communication between systems running the same OS – e.g. Uuencode for UNIX, BinHex for the TRS-80 (later adapted for the Macintosh) – and could therefore make more assumptions about what characters were safe to use. For instance, Uuencode uses...

Who's in your computer?

Image

Adding inputs and outputs.

Image
There are times in electronics where you need more data lines than the device you are using can handle. This is true of microcontrollers and especially the old computer parallel port. The one shortcoming of the following setups is that you can use only one line at a time, but then you can use just three lines to control eight lines. That frees up control lines if you need to use the control lines for other tasks, Time slicing can make the setups more interactive. The 74151 is a 8 input channel multiplexer. It is exceptionally useful when you need to expand your inputs. This allows you to convert 3 outputs and 1 input into 8 addressable inputs.   You would have to write software that would cycle through all the inputs to  for them to be consistently valid. You would need know what the memory locations of the specific data lines are to take advantage of the multiplexer. An example might be: data = inp(&h379) IF (data and 32) = 32 then print "Out o...

Adding inputs and outputs.

Image
There are times in electronics where you need more data lines than the device you are using can handle. This is true of microcontrollers and especially the old computer parallel port. The one shortcoming of the following setups is that you can use only one line at a time, but then you can use just three lines to control eight lines. That frees up control lines if you need to use the control lines for other tasks, Time slicing can make the setups more interactive. The 74151 is a 8 input channel multiplexer. It is exceptionally useful when you need to expand your inputs. This allows you to convert 3 outputs and 1 input into 8 addressable inputs.   You would have to write software that would cycle through all the inputs to  for them to be consistently valid. You would need know what the memory locations of the specific data lines are to take advantage of the multiplexer. An example might be: data = inp(&h379) IF (data and 32) = 32 then print "Out o...

Is your network firewall backdoor open?

Image
This is going to almost sound like a basis for a script from the old "Mission Impossible" TV show. First a little preparation. If you work for a company or have lots of computers where you live, most likely (at least I hope so) there is a device to control what comes into your network. In general this is called a network firewall. They are set up to keep the bad guys out from the outside. What they do not do is keep a control over what goes from inside to outside the network. If persons or persons want access to your network, trying to get through a firewall is the hardest way in. If they could put a device on the inside of your network, then they have you lock stock and barrel. Somehow they get physical access to your facilities and install what is known as a man in the middle device. Your firewall at this point is now worthless. Traditionally man in the middle devices were created from old wifi routers using modified firmware. Generally you had to be nearby to have access t...