I'm currently attempting to write a program that will scan keys in the Run subfolder in the registry. It will build a list of all the values and store them in multi-dimensional array.
My...
Type: Posts; User: stormy
I'm currently attempting to write a program that will scan keys in the Run subfolder in the registry. It will build a list of all the values and store them in multi-dimensional array.
My...
You could cast it.
printf("%d ", (int) DataMatrix[i]);
Or something along those lines.
I'm currently coding a reverse connection shell. (please avoid stereotypes today)
Jack's Box <> shell < Jill'x Box
Basically, I need a clean way to pass a defined host a windows command shell...
/***********************************************************
* ircbot.c
* currently having issues with sprintf()
* don't think it's actually sending the defined values
* work on it after I'm not...
Thanks for your reply. Yes, that's what I'm doing. Just wondered if it was the most elegant solution. As for the PONG reply I'm using a function that calls strtok() and strcat().
Not irc script. I make a socket connection, tcp, to the irc server and follow rfc guidlines. You can actually use netcat as an irc client if you understand the protocol.
Anyway, for those who...
I am currenty writing an irc bot. In accordance with the rfc there are a number of strings I have to send once I connnect to be authenticated. Mainly:
NICK mynicklewl2323
PONG randomnums2323...
I think he's talking about programming with the openssh API. I tried googling myself and the link I remembred was gone but I suggest you simply go on irc.freenode.net and ask in #c (keyword usually...
Oh, yes, my fault. It was 3 am when I made this post I kind of shut down. Here are the errors I'm getting:
ob.c: In function `main':
ob.c:41: warning: passing arg 1 of `jumble_data' makes...
Hi guys, I really have been trying to fix this one myself but I am just learning C so I my skill limits me, naturally.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include...
Thanks a million, got it working now.
I'm having a bit of trouble letting the user supply the port number as an argument. I have a feeling it's a simple fix.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include...
thanks guys, got it working perfectly
Sorry to be a pesk but I get the following:
node@titan:~/code/c/goodc$ ./grades3
Student name:stormy
How many grades?:2
Assignment:blah
Grade:56
Assignment:blahalso
Grade:67
1 /*****************************************************
2 * A Program To Manage Grades *
3 * written by: stormy *
4 * ...
Nevermind I just used your for loop with rand() in it in my script now it's working perfectly. I do thank you.
Actually my otuput is rather strange.
command>bleh
blutllidwneriqghueexôõÿ¿ @
f@öÿ¿M@b
ahhhhg thank you!
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define BUFFER 20
char input_Command[BUFFER], jumbled_Data[BUFFER];
int main()
thank you very much
Yes, but I'm pretty new to C. The problem isn't planning it out, what are some functions I can man to help me do this?
Okay well what I mean is I have no idea how to add 4 random characters every space. I already have that guide and know how to use sockets.
I have some data I am wanting to jumble and send over a socket.
All I want to do is add 4 random characters every 4 spaces in the the_data variable.
Can anyone here point me toward some functions...
// Playing with strcpy
#include <stdio.h>
#include <stdlib.h>
char first, second;
int main()
{
printf("Input first>");
What I am wanting to do is:
char LINK[] = "http://127.0.0.1/exec.php?cmd=
I'll use scanf to get the command (COMMAND)
scanf("%s", &COMMAND);
Then I would like to append LINK and COMMAND together...