hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Neo_
Hi,
i'm looking for a tool which could tell me if an ip is active, on a specified port.
example :

ips active
254.232.121.121:4655 y
145.565.121.656:139 n

and if it could alert when ips become inactive, it would be great biggrin.gif

thx
PL3X59
U can made 3 things ...

IRC + SERVU
add a irc bot with the serv u server on the machine ... BEST solution i think
but for the specific port ... i dont know ...

BAT FTP
made a bat file with give's you a txt file for exemple on your personnal ftp like bullet proof ftp, where you can see where some one is connected and in the login file ...
for the specific port u can use a tool like scan series ??

DYN SERVICE
or add a dynamic host name
then u don't need the IP...
but i dont know tooo for the spesific port ...

U should also use a tool like adslautoconnect with can sned u an email, i do not use it
Or U should use a trojan ... witch go on ICQ, certainly detected by antivirus or fireWall

i don't know how to dow with the 2 last methods, I can't help U here ...

could u give use more informations ?
why do u you do this ??

the programm will tun on your computer or hacked machine ?
this is for hacking ??

sorry for my "french" english
but I think u will understant me smile.gif

plex
sPiKie
Just get a simple port scannr wink.gif Or use this simple code:
CODE

/* I repeat not tested */
/* Coder: sPiKie */
/* th4 m4st3r */
#include <stdio.h>
#include <string.h>
#include <winsock.h>

#pragma comment(lib, "ws2_32.lib")

int main(int argc, char *argv[]) {
   WSADATA wsaData;
   int sockfd, numbytes;
   struct hostent *he;
   struct sockaddr_in their_addr; // connector's address information
   if (argc<2) {
      printf("Wrong usage\nUsage: %s <ip> <port>", argv[0]);
      return -1;
   }
   if(WSAStartup(0x101,&wsaData))
   {
                                 printf("[-] Unable to load winsock.\n");
                                 return -1;
   }
   if ((he=gethostbyname(argv[1])) == NULL) {  // get the host info
          printf("[-] GetHostByName() Error!\n");
          return -1;
   }
   printf("[+] Sucessfully found host\n[+] Checking for port %d to be open\n", atoi(argv[2]));
   if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
          printf("[-] Can't open socket!\n");
          return -1;
   }
   their_addr.sin_family = AF_INET;    // host byte order
   their_addr.sin_port = htons(atoi(argv[2]));  // port
   their_addr.sin_addr = *((struct in_addr *)he->h_addr);
   //memset(&(their_addr.sin_zero), '\0', 8);  // zero the rest of the struct
   if (connect(sockfd, (struct sockaddr *)&their_addr,sizeof(struct sockaddr)) == -1) {
          printf("[-] No it isnt open!\n");
          return -1;
   }
   printf("[+] Yes it is open!\n");
   closesocket(sockfd);
   WSACleanup();
   return 0;
}
andydis
server watch will do it,

there is a website somewhere that charges you for this.


but at www.blackcode.com its free if you register (but can only have 2 ips i think).


there is a freeeware program out there too calleed watchdog, heck it might even be on GSO if u did a search am sure ive seen it about here :-)
or u cud just ask wicked to look in his box of tricks 4 ya :-)
R0x0r
nice. Usefull tool. Great job sPiKie
sPiKie
Thanks, but it took me like 2 minutes to write it wink.gif BTW, Learn coding!!! All newbies should now start coding..!!!

"A Hacker that doesn't know what coding is, isnt a hacker!", Steve Mosiniok
"A Hacker that is a coder, is a hacker, noone else tongue.gif!", sPiKie

So start coding, simple go to this page and start learn C:
Best C Book ever!, that book is an excellent book! And here are some other good sites for C:
CE, for those that doesn't know pointers well, or have "problems" with learning them read this: Pointers.... SEXY!
And for Socket/Internet Protocol Programming:
Beej Net Guide

------------------------------------------------------------------------------------------------

BTW, I know the admins hate me cause I am lame but, starting a "function" in this forum like..:
- Ranks, you are skilled Hacker if they notice that your good and can code and answer people here nice
- Newbie if your not one of them
The hackers doesnt get any more than a private place for them self, maybe to post codes that the newbies shouldnt see etc..
But you can't ask to get a hacker, the admins and the other hackers finds it and needs a PROOVE! Just a question admins wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.