Search:

Type: Posts; User: stormy

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: Registry Code

    by stormy
    Replies
    1
    Views
    958

    Registry Code

    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...
  2. Replies
    15
    Views
    8,252

    You could cast it. printf("%d ", (int)...

    You could cast it.


    printf("%d ", (int) DataMatrix[i]);

    Or something along those lines.
  3. Replies
    0
    Views
    1,314

    ideas on reverse connect

    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...
  4. Replies
    2
    Views
    1,528

    attempted irc bot

    /***********************************************************
    * ircbot.c
    * currently having issues with sprintf()
    * don't think it's actually sending the defined values
    * work on it after I'm not...
  5. Thread: Looping Issue

    by stormy
    Replies
    5
    Views
    1,560

    Thanks for your reply. Yes, that's what I'm...

    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().
  6. Thread: Looping Issue

    by stormy
    Replies
    5
    Views
    1,560

    Not irc script. I make a socket connection, tcp,...

    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...
  7. Thread: Looping Issue

    by stormy
    Replies
    5
    Views
    1,560

    Looping Issue

    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...
  8. Thread: SSH tunnel

    by stormy
    Replies
    10
    Views
    5,068

    api

    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...
  9. Replies
    5
    Views
    1,697

    Oh, yes, my fault. It was 3 am when I made this...

    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...
  10. Replies
    5
    Views
    1,697

    typical error problem

    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...
  11. Replies
    3
    Views
    962

    whooo

    Thanks a million, got it working now.
  12. Replies
    3
    Views
    962

    little program confusion

    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...
  13. Replies
    6
    Views
    2,075

    thanks guys, got it working perfectly

    thanks guys, got it working perfectly
  14. Replies
    6
    Views
    2,075

    Sorry to be a pesk but I get the following: ...

    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
  15. Replies
    6
    Views
    2,075

    bare bones grades program

    1 /*****************************************************
    2 * A Program To Manage Grades *
    3 * written by: stormy *
    4 * ...
  16. Replies
    4
    Views
    1,099

    Nevermind I just used your for loop with rand()...

    Nevermind I just used your for loop with rand() in it in my script now it's working perfectly. I do thank you.
  17. Replies
    4
    Views
    1,099

    Actually my otuput is rather strange....

    Actually my otuput is rather strange.
    command>bleh
    blutllidwneriqghueexôõÿ¿…@
    f@œöÿ¿€M@b
  18. Replies
    4
    Views
    1,099

    ahhhhg thank you!

    ahhhhg thank you!
  19. Replies
    4
    Views
    1,099

    problem with array

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>

    #define BUFFER 20

    char input_Command[BUFFER], jumbled_Data[BUFFER];

    int main()
  20. Replies
    10
    Views
    2,262

    thank you very much

    thank you very much
  21. Replies
    10
    Views
    2,262

    Yes, but I'm pretty new to C. The problem isn't...

    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?
  22. Replies
    10
    Views
    2,262

    Okay well what I mean is I have no idea how to...

    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.
  23. Replies
    10
    Views
    2,262

    jumble socket data

    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...
  24. Replies
    3
    Views
    1,687

    // Playing with strcpy #include ...

    // Playing with strcpy

    #include <stdio.h>
    #include <stdlib.h>

    char first, second;

    int main()
    {
    printf("Input first>");
  25. Replies
    3
    Views
    1,687

    append 2 strings into one variable

    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...
Results 1 to 25 of 29
Page 1 of 2 1 2