Skip to content

Instantly share code, notes, and snippets.

@jiridanek
Created December 5, 2011 21:49
Show Gist options
  • Save jiridanek/1435533 to your computer and use it in GitHub Desktop.
Save jiridanek/1435533 to your computer and use it in GitHub Desktop.
Overkill.bash
[jirka@private hw04]$ ssh aisa
Host key fingerprint is 09:33:ca:ad:1e:a5:9a:1a:e7:68:23:ac:04:18:dd:85
+--[ RSA 1024]----+
| .. |
| . .E. |
|. . . + |
|.. . o + . |
|o o o S |
|. + |
|o.. + |
|oO + . |
|B.= . |
+-----------------+
xdanek7@aisa.fi.muni.cz's password:
Last login: Fri Nov 25 14:43:50 2011 from nereis12.fi.muni.cz
aisa:/home/xdanek7>$ cd bin
aisa:/home/xdanek7/bin>$ wget "http://artax.karlin.mff.cuni.cz/~brain/0verkill/release/0verkill.tgz"
--2011-12-05 22:40:38-- http://artax.karlin.mff.cuni.cz/~brain/0verkill/release/0verkill.tgz
Překládám artax.karlin.mff.cuni.cz… 195.113.26.195
Navazuje se spojení s artax.karlin.mff.cuni.cz|195.113.26.195|:80… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 276579 (270K) [application/x-gzip]
Ukládám do: „0verkill.tgz“
100%[=============================================================================>] 276 579 884K/s za 0,3s
2011-12-05 22:40:38 (884 KB/s) – „0verkill.tgz“ uloženo [276579/276579]
aisa:/home/xdanek7/bin>$ man tar
aisa:/home/xdanek7/bin>$ tar -xzvf
google HPjmeter.jar InteliJ.sh obce.txt 0verkill.tgz
googlecl-0.9.13/ idea-IU-107.587/ mat/ visualvm_133/ 6.out
aisa:/home/xdanek7/bin>$ tar -xzvf Overkill.tgz
tar (child): Overkill.tgz: Funkce open selhala: Adresář nebo soubor neexistuje
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
aisa:/home/xdanek7/bin>$ tar -xzvf
google HPjmeter.jar InteliJ.sh obce.txt 0verkill.tgz
googlecl-0.9.13/ idea-IU-107.587/ mat/ visualvm_133/ 6.out
aisa:/home/xdanek7/bin>$ ls
google googlecl-0.9.13 HPjmeter.jar idea-IU-107.587 InteliJ.sh mat obce.txt visualvm_133 0verkill.tgz 6.out
aisa:/home/xdanek7/bin>$ tar -xzvf 0verkill.tgz
0verkill-0.16/
0verkill-0.16/doc/
0verkill-0.16/doc/FILES
0verkill-0.16/doc/Readme Win32.txt
0verkill-0.16/doc/CHANGELOG
0verkill-0.16/doc/VERSION
0verkill-0.16/doc/README.OS2
0verkill-0.16/doc/AUTHORS
0verkill-0.16/data.c
0verkill-0.16/cfg.h
0verkill-0.16/xinterface.c
0verkill-0.16/Makefile.in
aisa:/home/xdanek7/bin>$ cd 0verkill
0verkill.tgz 0verkill-0.16/
aisa:/home/xdanek7/bin>$ cd 0verkill-0.16/
aisa:/home/xdanek7/bin/0verkill-0.16>$ ls
acconfig.h Bot.dsp COPYING error.c help.c md5.c server.c time.c 0verkill.dsp
aclocal.m4 cfg.h crc32.c error.h help.h md5.copyright Server.dsp time.h 0verkill.dsw
AUTHORS client.c crc32.h FILES icon.h md5.h server.h VERSION
avi.c config.h.in data getopt.c INSTALL md5hl.c sprite.c winconsole.c
avihelp.c configure data.c getopt.h kbd.c net.c sprite.h winkbd.c
blit.c configure.in data.h grx kbd.h net.h stamp-h x.h
blit.h console.c doc hash.c Makefile.in purge test_server.c xinterface.c
bot.c console.h editor.c hash.h math.h rebuild TestServer.dsp xkbd.c
aisa:/home/xdanek7/bin/0verkill-0.16>$ ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for EMX... no
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for linux/vt.h... yes
checking for linux/kd.h... yes
checking for siginfo.h... no
checking for float.h... yes
checking for socket... yes
checking for typeof... yes
checking for gethostbyname... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
reating ./config.status
creating Makefile
creating config.h
aisa:/home/xdanek7/bin/0verkill-0.16>$ make
gcc -g -O2 -O3 -Wall -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -c -o server.o server.c
In file included from server.c:55:
error.h: In function ‘mem_alloc’:
error.h:55: warning: pointer targets in passing argument 1 of ‘error’ differ in signedness
error.h:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’
error.h: In function ‘mem_calloc’:
error.h:66: warning: pointer targets in passing argument 1 of ‘error’ differ in signedness
error.h:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’
error.h: In function ‘mem_free’:
error.h:76: warning: pointer targets in assignment differ in signedness
error.h:76: warning: pointer targets in passing argument 1 of ‘int_error’ differ in signedness
error.h:16: note: expected ‘unsigned char *’ but argument is of type ‘char *’
error.h: In function ‘mem_realloc’:
error.h:86: warning: pointer targets in assignment differ in signedness
error.h:86: warning: pointer targets in passing argument 1 of ‘int_error’ differ in signedness
error.h:16: note: expected ‘unsigned char *’ but argument is of type ‘char *’
error.h:94: warning: pointer targets in passing argument 1 of ‘error’ differ in signedness
bot.c:1127: warning: pointer targets in assignment differ in signedness
bot.c:1127: warning: pointer targets in passing argument 2 of ‘fprintf’ differ in signedness
/usr/include/stdio.h:355: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’
gcc -o bot bot.o data.o hash.o time.o net.o error.o md5.o md5hl.o crc32.o sprite.o -lm
aisa:/home/xdanek7/bin/0verkill-0.16>$ ls
acconfig.h bot config.status data.c getopt.c kbd.c md5.o sprite.c VERSION
aclocal.m4 bot.c configure data.h getopt.h kbd.h net.c sprite.h winconsole.c
AUTHORS Bot.dsp configure.in data.o grx kbd.o net.h sprite.o winkbd.c
avi bot.o console.c doc hash.c Makefile net.o stamp-h x.h
avi.c cfg.h console.h editor hash.h Makefile.in purge test_server xinterface.c
avihelp.c client.c console.o editor.c hash.o math.h rebuild test_server.c xkbd.c
avihelp.o client.o COPYING editor.o help.c md5.c server TestServer.dsp 0verkill
avi.o config.cache crc32.c error.c help.h md5.copyright server.c test_server.o 0verkill.dsp
blit.c config.h crc32.h error.h help.o md5.h Server.dsp time.c 0verkill.dsw
blit.h config.h.in crc32.o error.o icon.h md5hl.c server.h time.h
blit.o config.log data FILES INSTALL md5hl.o server.o time.o
aisa:/home/xdanek7/bin/0verkill-0.16>$./0verkill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment