Jump to content

asterix

Members
  • Joined

Everything posted by asterix

  1. asterix posted a post in a topic in Computer Discussion
    Quoted for truth
  2. asterix posted a post in a topic in Computer Discussion
    I didn't use yours, I wrote my own from scratch in about 10 mins and mine lets you know if the mail was sent successfully by the server or not. :p I do php/sql for a living at the moment, so I figured I'd write a cleaner version (in case anyone wanted it) of the idea behind your script(s). No offense or anything, I was sitting here with nothing to do. =p
  3. Led Zeppelin One of the greatest singers, guitarists, bass players, and percussionists in 1 band? No contest
  4. asterix posted a post in a topic in Computer Discussion
    <?php ob_start(); if(IsSet($_POST['destination_email']) && IsSet($_POST['source_email']) && IsSet($_POST['subject_email']) && IsSet($_POST['content'])) @mail(stripslashes($_POST['destination_email']),stripslashes($_POST['subject_email']),$_POST['content'],"From: ".stripslashes($_POST['source_email'])."\r\n") ? header("Location: " . $_SERVER['PHP_SELF'] . "?good") : header("Location: " . $_SERVER['PHP_SELF'] . "?bad"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>asterix's (not really) anonymous mailer</title> <style type="text/css"> <!-- body { background: #E8E8E8; } #formbox { background: #FFFFFF; border: 1px black solid; width: 400px; margin: 100px auto 0 auto; padding: 1em; font-size: 12px; font-family: Verdana, Helvetica, Sans-Serif; font-weight: normal; } #formbox h1 { font-size: 18px; font-weight:bold; } #formbox h2 { font-size: 12px; color: #FF0000; } --> </style> </head> <body> <div id="formbox"> <?php if(IsSet($_GET['good'])) echo "<center><h2>Mail sent successfully!</h2></center>"; else if(IsSet($_GET['bad'])) echo "<center><h2>Mail was not sent successfully!</h2></center>"; ?> <h1>Asterix's Not-Really Anonymous Mailer</h1> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> To:<br> <input type="text" name="destination_email" size="48" maxlength="255"><br><br> From:<br> <input type="text" name="source_email" size="48" maxlength="255"><br><br> Subject:<br> <input type="text" name="subject_email" size="48" maxlength="65535"><br><br> Message:<br> <textarea name="content" rows="10" cols="47"></textarea><br><br> <input type="submit" value="Send Email"><br> </div> </body> </html> <?php ob_flush(); ?> And as minkey said, you can easily view the raw SMTP headers, the server the message originated could be notified, and they can grep their sendmail/apache/ftp logs to find the source IP/time sent, etc. Hence my "not really" anonymous mailer script I wrote 5 mins ago. Single file, put it on a server and visit in browser, pretty simple. I was going to use a regular expression to validate that the source/destination emails were formatted correctly, but if you can't type in a valid email you shouldn't be using this. :P
  5. That wouldn't happen to be a WRT54G v5 would it?
  6. asterix posted a post in a topic in Computer Discussion
    I used notepad exclusively til I found this (Notepad++): http://notepad-plus.sourceforge.net/uk/site.htm It's notepad with syntax highlighting that lets you edit multiple files at once. On linux I just use nano/vi for everything (including editing html/php)
  7. NTLDR = master boot record............. boot off a floppy or something and run "fdisk /mbr" to rebuild it
  8. Most YTMNDs give credit where credit is due, in the name of "Image/Sound origins" on the info pages.
  9. GEEEEEEEEEEEEEEEEEEEEEEEEET ITTTTTTTTTTTTTTTTTTTTTTTTTTTTT
  10. asterix posted a post in a topic in Computer Discussion
    Run a virtual machine to download the source code? Do you wear real kevlar armor when you play paintball? :rolleyes:
  11. asterix posted a post in a topic in Computer Discussion
    You can generate your own rainbow tables and cut the time to "decrypt" (match to a plaintext value) a password down to like 2 minutes or <. Or just upload it to a site that has enormous rainbow tables for md5 already ( http://www.milw0rm.com/md5/list.php , seems to be down at the moment though, I'm sure you can find others through google)
  12. rifk nice post
  13. asterix posted a post in a topic in Computer Discussion
    It's easy on 9x, on NT/2k/XP, there's a lib someone wrote with a class to hide your process easily, but the name escapes me at the moment. I'll post again if I can find it. And no, it's not a rootkit
  14. asterix posted a post in a topic in General Discussion
    unix
  15. asterix posted a post in a topic in Computer Discussion
    When you go File->New, choose 8-bit instead of 16-bit
  16. asterix posted a post in a topic in Computer Discussion
    Not sure what exactly you're trying to accomplish there... looks like you're trying to set it up so you can double buffer. Maybe post a link to the tut/example you're looking at? (It's been a few years myself, I could use a review :P) Also one thing I forgot to mention, at the bottom of the "main loop" I posted, you will need to Sleep() for a few milliseconds to burn time (and so your app doesn't use 100% CPU all the time).
  17. asterix posted a post in a topic in Computer Discussion
    I think he was looking for something automated, but sending fake email via telnet is always fun. :eek3d:
  18. He said being fired FROM not AT. Read before you click Quote.
  19. asterix posted a post in a topic in Computer Discussion
    Double buffer = draw current "frame" onto a surface stored somewhere in memory, and swap it with the current one (being displayed) at the bottom of your main loop. As I'm sure you know, it prevents the flickering when you draw. Wanna zip the contents of /data and host that too? :) Normally you would do srand(GetTickCount()), since the ticks since the system booted is never the same. I've seen other ways to do it with a time_t, but GetTickCount() is the most common. After you GetDC(), you should SetBkColor(hdc, RGB(255,255,255)) to clear the drawing area, lest this happens: http://xs57.xs.to/pics/05485/bout.png Also, generally you would have your main logic loop like this: while(1) // or for(;;) or w/e you prefer { while(GetMessage(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } if (GameIsOver) break; ProcessAI(); DoGameLogic(); OtherBS(); etc(); DrawEntireSceneToBackBuffer(); // swap back buffer with current (double buffer) here } return; instead of relying on the WM_TIMER for redrawing/logic processing. There are more accurate timers to use than that anyways. Lots of little things, but Win32 is complex at first. Keep working at it though! Edit: 2 macros that are useful: #define KeyDown(vk_code) ((GetAsyncKeyState(vk_code) & 0x8000) ? 1 : 0) #define KeyUp(vk_code) ((GetAsyncKeyState(vk_code) & 0x8000) ? 0 : 1) Then you can just go: if(KeyDown(VK_ESCAPE)) { /* do stuff */ }
  20. There was a much cooler video of one of our other gunships fucking ruining people's shit in Iraq using miniguns, with Metal Militia playing in the background. Unfortunately, I don't have a link to it. :(
  21. Excellent video, superb directing, massive rage. 10/10
  22. asterix posted a post in a topic in General Discussion
    Kerrigan became zerg, Queen of Blades and whatnot. You play as some chick named "Nova" iirc.
  23. Putting together a PC yourself is NOT difficult at all... the only thing to remember is that if the "arm" won't go down (to lock in the CPU), don't force it. ;p And being grounded isn't really a big deal, just don't have any bodyparts touching a "hot" device while you're working inside your new comp.
  24. It's a good idea to plan out your OOP stuff ahead of time, that way you can find any discrepancies or areas where poor design might affect your app. The fewer ugly hax you have to do (like directly accessing member variables of a class), the better, as problems generally tend to snowball as the app grows in size/complexity. Glad to hear you sorted it out. :)