There was a dude that asked for this tool on this: URL So why not post it here And for you C procedural programmers out there, Dont even try to get out of this C language.. Its so phucking amazing .. This code isnt "the best" since I made it on 5minutes, but here it is:
CODE
/* This program is just made for a little cool community called GovernmentSecurity.ORG Author: sPiKie Coder: sPiKie Lamer: sPiKie */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <windows.h>
#define joinme "icenix"
int main(int argc, char *argv[]) { char temp[1000]; if (argc<=2) { //check for wrong syntax printf("Usage: %s <program> <seconds>", argv[0]); //wrong usage return -1; //return with error :D jezus spikie is leet :P } sprintf(temp, "start %s", argv[1]); //hihi while (1) { //do to the end of the world ! :D system(temp); //start he program :D Sleep(atoi(argv[2])*1000); //using atoi() to convert to integer :) } //and then convert seconds to milliseconds } //so it can work in Sleep() :) /* All this is just sooooo phucking free! Shouts to Icenix; wanna join me to make a group ? :D */
I also attached the compiled file BTW, this source code is not a linux C code.. Because it is using the system(); command in Windows.. But if you want a linux C code, you can make it simple Or I post it this evening..
For the retards out there, try whatever you want with my code.. This is free, and every thing should be free.. Then maybe we would have like 100% more electrical/computer things this days..
Regards, sPiKie (remember the shouts)
sPiKie
Feb 7 2004, 11:12 AM
Here is the non-tested and non-compiled *nix C code i made:
CODE
/* This *nix program is just made for a little cool community called GovernmentSecurity.ORG Author: sPiKie Coder: sPiKie Lamer: sPiKie */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h>
int main(int argc, char *argv[]) { char temp[1000]; if (argc<=2) { //check for wrong usage printf("Usage: %s <program> <seconds>", argv[0]); //wrong usage return -1; //ohh my god we have to return with error... like saddam :P } sprintf(temp, "start %s", argv[1]); //hihi while (1) { //do to the end of the world ! :D system(temp); //execute the program sleep(atoi(argv[2])); //sleep in your seconds } } /* All this is just sooooo phucking free! Shouts to Icenix; wanna join me to make a group ? :D */
I think in *nix if that the app will delay your app until the other program has ended, though.. Nice to now
clip
Feb 7 2004, 11:50 AM
sprintf(temp, "%s", argv[1]); tss... might cause a buffer overflow! better: _snprintf(temp,"%s",argv[1],sizeof(temp));
sPiKie
Feb 7 2004, 12:29 PM
clib, thanks.. But It may crash a bufferoverflow... wow, dont think people use it to bufferoverflow
sPiKie
Feb 7 2004, 12:40 PM
clip, I could also use, strncpy(); Thanks any way
-=*fireball*=-
Feb 7 2004, 02:04 PM
thx for the nice and usefull app
Alexander01
Feb 7 2004, 04:05 PM
Yes i got his one already and it's a nice tool.. but only one suggestion
if i wanna execute a dos program like clearlogs.exe -sys the CMD.exe stays open after it executes the program... can you fix this please... would be nice bcuz after an hour there are running more then 100 cmds
sPiKie
Feb 7 2004, 04:33 PM
QUOTE (Alexander01 @ Feb 7 2004, 04:05 PM)
Yes i got his one already and it's a nice tool.. but only one suggestion
if i wanna execute a dos program like clearlogs.exe -sys the CMD.exe stays open after it executes the program... can you fix this please... would be nice bcuz after an hour there are running more then 100 cmds
I got no time now, I post it in this night....
sPiKie
Feb 7 2004, 04:42 PM
If anyone thinks it is interesting, here is a newer version I made.. Now it handle arguments
CODE
/* This program is just made for a little cool community called GovernmentSecurity.ORG Author: sPiKie v2 Coder: sPiKie v2 Lamer: sPiKie v2 */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <windows.h>
#define joinme "icenix"
int main(int argc, char *argv[]) { char temp[1000]; char temp2[1000]; if (argc<=3) { //check for wrong syntax printf("Usage: %s <program> <seconds> <arguments>", argv[0]); //wrong usage return -1; //return with error :D jezus spikie is leet :P } for (int i = 3; i<argc; i++) { //loops true every cmd argument from 3 sprintf(temp2,"%s %s", temp2, argv[i]); //copies it :D } sprintf(temp, "start %s %s", argv[1], temp2); //hihi while (1) { //do to the end of the world ! :D system(temp); //start he program :D Sleep(atoi(argv[2])*1000); //using atoi() to convert to integer :) } //and then convert seconds to milliseconds } //so it can work in Sleep() :) /* All this is just sooooo phucking free! Shouts to Icenix; wanna join me to make a group ? :D */
Alexander01
Feb 7 2004, 05:36 PM
it already did here, just use the " "
Paul
Feb 7 2004, 06:14 PM
Nice work spikie hope to learn c[++] at my next school
boshcash
Feb 9 2004, 10:22 PM
nice work skippie , real useful tool
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.