User Profile

Collapse

Profile Sidebar

Collapse
kuratkull
kuratkull
Last Activity: Feb 27 '08, 11:31 PM
Joined: Jan 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kuratkull
    replied to OpenSSL BIGNUM lib
    in C
    I said I had the file, and the compiler detected it. It knows where it is and how to access it.
    Proof: It got the "BIGNUM" from the lib
    See more | Go to post

    Leave a comment:


  • kuratkull
    started a topic OpenSSL BIGNUM lib
    in C

    OpenSSL BIGNUM lib

    Hello,
    I am using the OpenSSL BIGNUM lib for my program. I got rid of all the compiler errors/warnings about it's usage, and when I thought it would compile:

    Code:
    rabler.c:(.text+0x1a8): undefined reference to `BN_CTX_new'
    rabler.c:(.text+0x1cc): undefined reference to `BN_mod_exp'
    The file is there, and the compiler knows where it is.
    I guess I have to use some special GCC flags(like with math.h "-lm")?...
    See more | Go to post

  • kuratkull
    replied to Getting pixel colour in C
    in C
    Yes, that was it.
    I'm surprised I didn't think about it :(

    But still, a big thanks.
    See more | Go to post

    Leave a comment:


  • kuratkull
    started a topic Getting pixel colour in C
    in C

    Getting pixel colour in C

    Hello,

    I haven't asked If I wasn't really confused :)

    OK, so I am just beginning SDL programming in C, and I was running fine, until I tried getting a pixel colour.
    Basically, I am trying to run the code from this page:
    http://www.libsdl.org/cgi/docwiki.cgi/Pixel_20Access

    This is the cut down version of my code:

    Code:
    [I]snip[/I]
    SDL_Color GetPixel ( SDL_Surface* Screen , int x
    ...
    See more | Go to post

  • kuratkull
    replied to Py2exe Linux?
    I have been wondering the same thing, you could give us(the ones who need it) a helping hand :)
    See more | Go to post

    Leave a comment:


  • kuratkull
    replied to What is your OS and Python Version
    Arch Linux 0.8 with kernel 2.6.21-ARCH
    Python 2.5.1
    Editors: Bluefish and Eric3
    See more | Go to post

    Leave a comment:


  • kuratkull
    replied to integer from argument
    Thanks for your reply.
    I started looking into it, and by some testing, I saw that python uses the filename as sys.argv[0](perl doesn't do this, so I wasn't expecting that), so that's the reason a = int(s) didn't work. I used sys.argv[1] and everything is working perfectly.

    Thanks a lot :)
    See more | Go to post

    Leave a comment:


  • kuratkull
    started a topic integer from argument

    integer from argument

    Hello, I just started learning Python today. I already know Perl, and they have a veery similar syntax, so it's not really hard. But I cannot manage to get an integer from an argument.
    If i use sys.argv, it only gets it as a "string". But I need it as an integer.
    If I try to use it in a calculation, I get:
    TypeError: cannot concatenate 'str' and 'int' objects

    Help?

    Thanks
    See more | Go to post

  • kuratkull
    replied to SMTP honeypot
    in Perl
    It is also unreachable from outside my local network. Maybe this has to do something with "bind". I am looking for information, but there isn't very much of it.
    If you could give me any help on this, it would be very appreciated too :)
    See more | Go to post

    Leave a comment:


  • kuratkull
    started a topic SMTP honeypot
    in Perl

    SMTP honeypot

    Ok, I wrote a Honeypot in perl. It listens on port 25 and acts as a crude SMTP server.
    It responds to the most basic commands(helo, mail from, rcpt to, data) needed for sending mail.
    It has no way of closing the socket from the client side, so it acts also as a tarpit by not allowing automatic spam mailers to disconnect from it.
    It does not actually send any mail, but simulates the situation.

    Problems I'm having:...
    See more | Go to post

  • kuratkull
    replied to create copy, random filename of itself
    in Perl
    wow, thx for such a detailed answer :)

    Next time, I will do as you told me.

    Thanks again.
    See more | Go to post

    Leave a comment:


  • kuratkull
    started a topic create copy, random filename of itself
    in Perl

    create copy, random filename of itself

    Hello,

    I am rather new at pearl, but I am a fast learner.

    So, I have been sitting up here, all night, trying to make a script that:

    Reads it's name, copies itself to the same folder, but with a random name with a .html suffix(I have my apache configure to handle .html as CGI).

    My code is here, this is the small batch I left for you to see, and It doesn't work.

    http://kura...
    See more | Go to post
No activity results to display
Show More
Working...