Saturday, November 29, 2014

The ZIP of Death


This is a exploit of the compression algorithms to make a small zip that will extract into extream amounts their are more ways and better ones than this one but i will only show how to make a simple 1k = 1m ratio.

1) Make a.txt file

2) Open and type the null character (alt + 255)

3) Press ctrl + a then ctrl + v a couple times to make some null bytes

4) If u have a hexeditor make the hex 00 for about 50 kilobytes.

5) Now make several copies of a.txt and name accordinly

6) Open cmd.exe

7) Type copy /b *.txt b.txt

8) Now every copy is made into a super copy and repeat

9) Once you have a nice empty big text file like 1gb. Put it in a zip archive.
Because of the simple construction of the file, 1gb of null bytes.....!

The zip is only 1 mb in size and can really annoy freinds.
For added fun hex edit the zip and you will see a bunch of hex 5555

Just add some more and the file will expand amazingly

Make sure to not open this after

You can always create your zip of death from the command line in linux
dd if=/dev/zero bs=1000 count=1000000 | gzip > test.gz

Friday, November 14, 2014

c code for extraction of attributes of BMP file

/*BMP Attributes.C*/

#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<graphics.h>

MATLAB program to study the various morphological operation on binary image

\\ MATLAB program to study the various morphological operation on binary image.\\

clc;
clear all;
close all:
I=imread(C:\aish.bmp);
figure

Measurements using Digital Storage Oscilloscope, different modes of DSO, capturing transients and analysis of waveforms.

AIM:  Measurements using Digital Storage Oscilloscope, different modes of DSO,
            capturing transients and analysis of waveforms.

I) To study different modes of DSO such as Roll, Average, Peak Detection.
II)  FFT analysis using DSO.
III) Capture transients
IV) Various math operations.

Measurement of Total Harmonic Distortion contained by output of amplifier, inverter

AIM: Measurement of Total Harmonic Distortion contained by output of amplifier, inverter.
EQUIPMENTS:
1) Spectrum Analyzer (Agilent,9KHz-3GHz)
2) BJT amplifier circuit
3) connecting probes
4) power supply (Radial industries,SVP030002D,0-32V,DC-2A)
5) Function Generator (Aplab, FG1MD, 1MHz)

Study of network analyzer for measurement of SWR, reflection coefficient and ‘S’ parameters.

Aim: Study of network analyzer for measurement of SWR, reflection coefficient  and  ‘S’ parameters.


Equipment: Network Analyzer

Theory:

Network analyzers characterize the impedance or S-parameters of active and passive networks, such as amplifiers, mixers, duplexers, filters, couplers, attenuators. These components are used in systems as common and low cost as a pager, or in systems as complex and expensive as a communications or radar system. Components can have one port (input or output) or many ports. The ability to measure the input characteristics of each port, as well as the transfer characteristics from one port to another, gives designers the knowledge to configure a component as part of a larger system.

Amplitude Modulator & Demodulator using LabVIEW

AIM: Simulation of Amplitude Modulator & Demodulator using LabVIEW as a virtual instrument.


EQUIPMENT: NI LabVIEW Software installed on PC.


PROCEDURE:
1.     Open the LabVIEW  window and click on Blank VI.