Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

HAX IT

Name: Anonymous 2009-04-23 2:52

ITT we post short, useful programs.

Name: Anonymous 2009-04-23 3:21

--
-- Copyright (c) 2006 Don Stewart - http://www.cse.unsw.edu.au/~dons
-- GPL version 2 or later (see http://www.gnu.org/copyleft/gpl.html)
--
import System.Environment

-- 'main' runs the main program
main :: IO ()
main = getArgs >>= print . haqify . head

haqify s = "Haq! " ++ s

Name: Anonymous 2009-04-23 3:42

function goognum ()
{
    curl -s -A "no403" "http://www.google.com/search?safe=off&q=$1" | perl -lne 'print $1 if(m#of about <b>([\d,]+)</b> for#)'
}

Name: Anonymous 2009-04-23 4:17

>>2
>>= considered ass-backwards.

Name: Anonymous 2009-04-23 4:19

def HIBT(poster):
    return True

Name: Anonymous 2009-04-23 6:06

#!/usr/bin/perl

# Ad-hoc открытие двери на 4-й этаж посылкой пакета
# который я увидел в wireshark к БСК.

use strict;
use IO::Socket;

sub dehex($){join "",pack "C*",map hex,shift=~/([0-9a-zA-Z]{2}) \s*/gx}
sub hexdump($){join " ",map{sprintf "%02x",unpack "C",$_}split //,shift}

my $handle=IO::Socket::INET->new(
        Proto=>'udp',PeerAddr=>"192.168.1.211",PeerPort=>1030)
    or die "socket: $@";

send $handle,dehex "4effffffffffff17000002032874",0
    or die "send: $!";
   
recv $handle,my $response,1000,0
    or die "recv: $!";

$response eq dehex "4e17024f4bff"
    or die "Wrong response: ".hexdump $response

Name: !MILKRIBS4k 2009-04-23 6:10

/******************************************************************
Date: 23-06-2008
Author: Raj Sharma
Description: If we know the window title and that is already opened,
we can Hide/Show that window by using this programme,
very amazing functionality
******************************************************************/
#include <stdio.h>
#include <windows.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>

#define ShowWindowFileName "C:\\System\\ShowWindow.txt"

HANDLE ColorHandle;
HWND stealth;
char WindowList[100][200];
int count = 0;
char *GetWindowName(void)
{
    char windowTitle[200];
    printf("\t\t\t");
    system("PAUSE");
    printf("\t\t\tClick on Window to be hided within 5 seconds\n");
    sleep(5*1000);
    GetWindowText(GetForegroundWindow(), windowTitle, GetWindowTextLength(GetForegroundWindow()) + 1);                   
    SetConsoleTextAttribute(ColorHandle , 13);
    printf("\n\t\t\tWINDOW-TITLE: \n\t\t\t> %s\n",windowTitle);
    strcpy(WindowList[count] , windowTitle);   
    return windowTitle;
}

void GetWindowTitle(char *Exe)
{
   char *Ptr, WindowToBeHided[MAX_PATH];     
   int ask, Handles[40], toFileDes, Temp = 0;
   HWND Handle;
   SetConsoleTextAttribute(ColorHandle , 10);
   printf("\n\n\t\t    +++++++++++++++++++++++++++++++++++++++++++++++++++\n\t\t\tDescription: Utility to Hide your Downloads \n\t\t\tOR Other private work on Public PC\n\n\t\t\tBy: Luvrajind\n\n\t\t\tOptions:\n\t\t\t1: Want Hide some window\n\t\t\t2: Total No of Hided Windows\n\t\t\t3: Show all Hided windows\n\t\t\t4: Hide This Window\n\t\t\t5: See This Menu\n\t\t    +++++++++++++++++++++++++++++++++++++++++++++++++++\n\n");                                              
   while(1)
   {
       SetConsoleTextAttribute(ColorHandle , 12); 
       printf("\t\t-----------------------------------------------------------"); 
       printf("\n\n\t\t\tEnter Option: ");
       scanf("%d",&ask); 
       switch(ask)      
       {
       case 1:
       //Finding Specified window name which we want to hide.
       Ptr = GetWindowName();
       strcpy(WindowToBeHided , Ptr);
          
       Handle = FindWindow(0, WindowToBeHided);
       SetConsoleTextAttribute(ColorHandle , 14);
       if((Handle != 0) && (strcmp(Exe , WindowToBeHided) != 0))
       {                    
          printf("\n\t\t\tSpecified Window is Opened and Now we are Hiding that");      
          ShowWindow(Handle,0);
          Handles[count++] = Handle; 
          printf("\n\t\t\tTotal Hided windows are: %d\n",count);
       }
       else
       printf("\n\t\t\tSorry !!!, its Main Programme window, Can't Hide\n");      
       break;
       
       case 2:
       SetConsoleTextAttribute(ColorHandle , 14);   
       printf("\t\t\tTotal Hided windows are: %d\n",count); 
       printf("\n\t\t\tList: \n");
       while(Temp < count)
       {
          printf("\t\t\t%d. %s\n",Temp+1,WindowList[Temp]);   
          Temp++;
       }
       Temp = 0;       
       break;
      
       case 3:
       SetConsoleTextAttribute(ColorHandle , 14);
       if(count != 0)
       {  
          printf("\t\t\tShowing all Hided windows now ...\n");
          printf("\t\t\tTotal Hided windows are: %d\n",count); 
          printf("\n\t\t\tList: \n");
          while(Temp < count)
          {
             printf("\t\t\t%d. %s\n",Temp+1,WindowList[Temp]);   
             Temp++;
          }
          Temp = 0;
                       
          count = count-1;
          while(count >= 0)
          {
             ShowWindow(Handles[count],1);   
             count--;
          }
          count = 0;
       }
       else
       printf("\n\t\t\tNo Any window is Hided\n");        
       break;  
      
       case 4:    
       stealth = FindWindowA("ConsoleWindowClass",NULL);
       SetConsoleTextAttribute(ColorHandle , 5);
       printf("\t\t\tYou Need Following File to see this Window again: \n\t\t\t> %s\n\t\t\t",ShowWindowFileName);
       system("PAUSE");
       //Hiding Window
       ShowWindow(stealth,0);
       //Now Waiting from user to Enter Corret Password to see this window again
       while(1)
       {
         sleep(30);     
         toFileDes = open(ShowWindowFileName , O_RDWR);                 
         if(toFileDes > 0)
         {
            close(toFileDes);
            system("del /q " ShowWindowFileName); 
            //Showing Window        
            ShowWindow(stealth,1);  
            break;
         }
       }       
       break;
      
       case 5:
       SetConsoleTextAttribute(ColorHandle , 10);   
       printf("\n\n\t\t    +++++++++++++++++++++++++++++++++++++++++++++++++++\n\t\t\tDescription: Utility to Hide your Downloads \n\t\t\tOR Other private work on Public PC\n\n\t\t\tBy: Luvrajind\n\n\t\t\tOptions:\n\t\t\t1: Want Hide some window\n\t\t\t2: Total No of Hided Windows\n\t\t\t3: Show all Hided windows\n\t\t\t4: Hide This Window\n\t\t\t5: See This Menu\n\t\t    +++++++++++++++++++++++++++++++++++++++++++++++++++\n\n");                                              
       break;
      
       }
       //Avoid 100% CPU Usage        
       Sleep(30);
    }
}

int main(int argc, char **argv)
{  
  ColorHandle = GetStdHandle(STD_OUTPUT_HANDLE);
  char Temp[200];
  strcpy(Temp , *argv);     
  GetWindowTitle(Temp);   
}

Name: Anonymous 2009-04-23 6:14

>>7
Amazing!

Name: Anonymous 2009-04-23 6:16

>>6
EXPERT DOOR OPENER

Name: Cactaur 2009-04-23 6:39

Name: Anonymous 2009-04-23 6:47

>>7,10
Oh great. We've got the failures from /lounge/ leaking into /prog/! Time to brush off the dust on that script used to hide FrozenVoid posts.

Name: Anonymous 2009-04-23 6:50

>>11
De yee meey yee eye yhe epec feeyeye?

Name: HAX IT 2009-04-23 20:15

When a problem comes along
You must hax it
Before the cream sits out too long
You must hax it
When something's going wrong
You must hax it

Name: Anonymous 2009-04-24 19:27

#include <stdio.h>

main()
{

printf("hello world");

return 0;

}

Name: Anonymous 2009-04-24 22:34

>>14
Briliant!

Name: Anonymous 2009-04-24 22:51

#include <stdio.h>

int main(){

for(;;){

if (fork() == 0){

fork();
}
}
}

Name: Anonymous 2009-04-25 0:43

>>16
I dare say fork is a unix system call, this code fails

Name: Anonymous 2009-04-25 0:54

int main (){

for(;;)
{
  printf("YOUR BEING HACKED!");}

if (0)
   {

} else
{   printf("HOW?");
   }
       }

return -3;
           }

try compiling that one LOL!!!

Name: Anonymous 2009-04-25 1:10

Compile this, LOL!

int main() {
   __asm {
      hcf
   }
   return 'H'+'M'+'A';
}

Name: Anonymous 2009-04-25 1:37

>>19
f00f

Name: Anonymous 2011-01-31 20:21

<-- check em dubz

Don't change these.
Name: Email:
Entire Thread Thread List