View Full Version : obtaining the phone number


system_eyes
hello friends,

i wonder if any one of you can give me a source code written in c to obtain the phone number from the local computer then writting the result to a text file then sending the result to an e mail adress:D

actually i need it as a part of my education process
thanks :D

whirlpool
Do you mean CallerID ? If so a simple shell script could do such thing, if you have a modem that Supports CallerID.

But watch out, nobody here will do your homework. We might point out resources for you, to search and learn from. :(

system_eyes
hi, well, i didn't mean caller ID , actually i was trying to make a trojan that will obtain the the phone number then send the result to an e mail adress , that is all:D

m0h
Originally posted by system_eyes
hi, well, i didn't mean caller ID , actually i was trying to make a trojan that will obtain the the phone number then send the result to an e mail adress , that is all:D
I don't think you can do that!
but if you get any results shear it with us :D

system_eyes
Originally posted by m0h

I don't think you can do that!
but if you get any results shear it with us :D
well, i am still searching, i have posted the question in three boards, and dun warry about the share ;)

but can i ask u why do u think it is not impossible, ??,

uniball
Originally posted by system_eyes
actually i was trying to make a trojan

That's what we gain from windowz luserz
sure i'll never help you with this.

m0h
cos I don't think you can get your own number, I remember few months ago when Telecom Egypt was changing the phone numbers the only way for me to get my new number was by calling a friend with a callerid!

system_eyes
Originally posted by uniball


That's what we gain from windowz luserz
sure i'll never help you with this.
that is why u should help me, :D u are trying to prove that unix is the best , for this reason, i suggest to kill windows with trojans:D ,

m0h
Originally posted by uniball


That's what we gain from windowz luserz
sure i'll never help you with this.
There is nothing wrong with this, it depends on how you are going to use it, if you are going to use to gain more knowledge & you are not going to harm any one its ok.

system_eyes
hello MOH, thanks for the support , yeah , i really need it for educational purpose truely,

i wana ask u if this code is true or not, some one has posted me it, and it is the first time to feel that i am ignorant coz i am not able to understand all the code
here u are


#define PH_NO_LENGTH
int main()
{
char *ph_no;
char responce;
printf("Do u want to know ur ph no: "Y" or "N" ");
scanf("%c", &responce);
if(responce == 'Y' || responce == 'y')
{
printf("\nSee your telephone number on ur receiver and enter:");
fgets(ph_no, PH_NO_LENGTH, stdin);
printf("\nur phone no is:%s",ph_no);
}

else{
printf("\nENJOY");
}
return 0;
}

^3aFrEt^
i heard this idea from someone

make the code to just mess with the dialup connection and put ur own phone instead of the ISP phone

disconnect the user

wait till he calls u with ur CallerID ready :D


but i believe this will be only use to harm , there is much more importantthings to learn