unplug your modem, please.
what does it mean if you sub7 somebody
Shinjiro
09-27-2006, 08:30 PM
what does it mean if you sub7 somebody
I think it might be some kind of homosexual code.
Vershun
09-27-2006, 08:33 PM
lol I dug deep and found a fake sub7 server I made a shitlong time ago (dated 08-22-02).
http://vershun.ath.cx/http/vershundotnet/projects/sub7_server.cpp
:O webserver down.
#include <stdio.h>
#include <iostream.h>
#include <stdlib.h>
#include <string>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <fstream.h>
using std::string;
int main()
{
fd_set master;
fd_set temp;
int listenfd;
int fdmax;
int newfd;
int nbytes;
char buf[256];
int sender;
string buff;
struct sockaddr_in myaddr;
struct sockaddr_in remoteaddr;
int yes=1;
socklen_t addrsize;
ofstream logger;
FD_ZERO(&master);
FD_ZERO(&temp);
if((listenfd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
{
perror("socket");
exit(1);
}
if (setsockopt(listenfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(int)) == -1) {
perror("setsockopt");
exit(1);
}
myaddr.sin_family = AF_INET;
myaddr.sin_addr.s_addr = INADDR_ANY;
myaddr.sin_port = htons(27374);
memset(&(myaddr.sin_zero), '\0', 8);
if(bind(listenfd, (struct sockaddr *)&myaddr, sizeof(myaddr)) == -1)
{
perror("bind");
exit(1);
}
if(listen(listenfd, 10) == -1)
{
perror("listen");
exit(1);
}
FD_SET(listenfd, &master);
fdmax = listenfd;
for(;;)
{
temp = master;
if(select(fdmax+1, &temp, NULL, NULL, NULL) == -1)
{
perror("select");
exit(1);
}
for(int i = 0; i <= fdmax; i++)
{
if(FD_ISSET(i, &temp))
{
if(i == listenfd)
{
addrsize = sizeof(remoteaddr);
if((newfd = accept(listenfd, (struct sockaddr *)&remoteaddr, &addrsize)) == -1)
{
perror("accept");
}
else
{
FD_SET(newfd, &master);
if(newfd > fdmax)
{
fdmax = newfd;
}
buff = "Connected";
logger.open("IPs.log", ios::app);
if(logger)
{
logger << "Connected to " << inet_ntoa(remoteaddr.sin_addr) << " on port " << ntohs(remoteaddr.sin_port) << endl;
}
logger.close();
if(send(newfd, buff.c_str(), buff.size(), 0) == -1)
{
perror("send");
}
}
}
else
{
if((nbytes = recv(i, buf, sizeof(buff), 0)) <= 0)
{
if(nbytes == -1)
{
perror("recv");
}
else
{
FD_CLR(i, &master);
close(i);
}
}
else
{
if(sender == i)
{
close(i);
FD_CLR(i, &master);
}
else
{
buff = "Command \"finger asshole\" Not Found";
if(send(i, buff.c_str(), buff.size(), 0) == -1)
{
perror("send");
}
sender = i;
}
}
}
}
}
}
return 0;
}
jdail
09-27-2006, 08:35 PM
lol I dug deep and found a fake sub7 server I made a shitlong time ago (dated 08-22-02).
http://vershun.ath.cx/http/vershundotnet/projects/sub7_server.cpp
dude you think people are dumb enough to click that and get infected by your trojanz?
Vershun
09-27-2006, 08:46 PM
dude you think people are dumb enough to click that and get infected by your trojanz?
http://www.zx-12r.org/Motorcycle_info/Information%20Pages/EasyRider%20-%20GREAT%20SHIRTS!!!!_files/skull_greenWire.gif
cpp is a text file though.
dRaven
09-28-2006, 08:25 AM
http://www.zx-12r.org/Motorcycle_info/Information%20Pages/EasyRider%20-%20GREAT%20SHIRTS!!!!_files/skull_greenWire.gif
cpp is a text file though.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.