In the noon time i was chatting with one of my friend while he was at an airport in Paris, during the chat he mentioned that he paid some bucks to access wifi for half an hour.
Well that lead to a spark in my brain. On some basic quick thinking it reminded me about the same situation that i faced while travelling too,
but in my scenario, i only faced two types of policies used by admins at airport that restricted wifi access.
1-- MAC ADDRESS CROSS CHECK.
2-- SUPPLYING USER WITH A TEMP KEY THAT EXPIRES IN A TIME PRE-DEFINED TIME PERIOD.
On collecting info from him it showed that they are surely using the first case.
That just reminded me of something similar i went through while helping a friend in china,
basically there university was using a a client software, that assigns ip address by checking mac add.
so access to other systems except the university registered laptop/pc was
restricted, so we used the similar trick for of spoofing the mac address
n voila it worked.
so just for explaining that part created to vidz of tools n there how tos for spoofing it on both win and a Linux system.
tools used are :: win : macshift : link
Linux : macchanger :: link
## on any debian based distro like ubuntu just
## apt-get install macchanger
##if you guys using backtrack or any other security distro i should probably be there in it.
So here are the videos to get you start up fast and easy.
mac address spoofing Linux
mac address spoofing Windows
Thanks for reading.
For any queries or suggestions plz comment below.
Yinsain.
I have seen many people put up videos tutoring about c programming and stuff, but most of those videos lack some of the major concepts important for practical programming. So i thought why not cover this topic too, this is also an outcome of requests from friends, having problems in same topic.
A prior knowledge of string constants, argument passing, pointers, pointers to pointers is necessary in any programming language, helps you to get eased up for it, if you know c then its even better,
lest start with a simple code that is so popular that even a non programmer who ever wanted to learn programming but lost interest must have also seen before throwing the book, yeah u got me right its the oldskool HELLO WORLD eg
when you compile this code snippet, you get the usual hello world output on screen, but this is constraining our will to program the way we want, in this example hello world string will get hard coded into the executable generated after compiling.
One question arises commonly, why cant it be dynamic??
ans is simple, it can be made dynamic, creators of c were not so foolish to leave such a thing. This can be achieved with parameter passing just like any other function, but the only difference between this type of argument passing is that arguments are passed from the enviroment of your os not inside your program.
With a slight modification in the code above you can achieve it,
argc --> its an integer data type,
--> keeps the count of total arguments
in a standalone program with no parameters, vaue of argc is always 1,
this facility can be used for error checking
IF (parameters less than 2)
PRINT plz check the usage or plz pass correct number of arguments.
this variable increments with your no of parameters you pass.
lets say your compiled program is helloworld.
so on a linux box
$./helloworld hello this is a parameter passing example
or a windows machine
>helloworld.exe hello this is a parameter passing example
this is the portion where it gets confusing for some people, but i will start from the base and we can build our way up,
so the concept of an array
what is an array??
it is a contiguous block of memory which can be used to store data in a rightly order.
main points about it.
--> array name is a pointer itself,
basically it points to the first memory block of the array.
so this code is also fairly legal,
-------------------------------------------------------------------
int *p , egarray[2];
p = egarray;
//then
printf() for egarray[0] and *p will output the
same value.
----------------------------------------------------------------------
arrays can be created for all possible datatypes depending on your needs, int ,char n struct arrays are common in and same is with array of pointers.
think of it as a registers which stores the starting point of another array