=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== koules-1.4/koules-13- dialog --title "Koules options" --menu "Select resolution" 9 40 2 "320x200" "low resolution" "640x480" "High resolution" 2> /tmp/dialogout.$$ koules-1.4/koules:14: resolution=`cat /tmp/dialogout.$$` koules-1.4/koules-15- if [ $resolution = "320x200" ]; then ############################################## koules-1.4/koules-20- dialog --title "Koules options" --checklist "Driver options" 9 40 2 "Mouse support" "" on "Sound support" "" on 2> /tmp/dialogout.$$ koules-1.4/koules:21: drivers=`cat /tmp/dialogout.$$` koules-1.4/koules-22- mouse="-M" ############################################## koules-1.4/koules-38- dialog --title "Server options" --menu "Select resolution" 10 50 3 "Normal" "For 320x250 and 640x480 clients" "Wide" "For 320x200 and 640x400 clients" "Large" "For extra large 800x620 clients" 2> /tmp/dialogout.$$ koules-1.4/koules:39: resolution=`cat /tmp/dialogout.$$` koules-1.4/koules-40- case $resolution in ############################################## koules-1.4/koules-45- dialog --title "Server options" --menu "Difficulty" 12 50 5 "0" "Nightmare" "1" "hard" "2" "medium" "3" "easy" "4" "very easy" 2> /tmp/dialogout.$$ koules-1.4/koules:46: diff=`cat /tmp/dialogout.$$` koules-1.4/koules-47- dialog --title "Server options" --checklist "Game options" 8 40 1 "Deathmatch" "" off 2> /tmp/dialogout.$$ koules-1.4/koules:48: drivers=`cat /tmp/dialogout.$$` koules-1.4/koules-49- deathmatch="" ############################################## koules-1.4/koules-55- dialog --title "Server options" --inputbox "Starting level" 9 40 "1" 2>/tmp/dialogout.$$ koules-1.4/koules:56: level=`cat /tmp/dialogout.$$` koules-1.4/koules-57- dialog --title "Server options" --inputbox "Inet port" 9 40 "12345" 2>/tmp/dialogout.$$ koules-1.4/koules:58: port=`cat /tmp/dialogout.$$` koules-1.4/koules-59- opt="$resolution -S $deathmatch -D $diff -L $level -P $port" ############################################## koules-1.4/koules-67- dialog --title "Client options" --menu "Select resolution" 9 40 2 "320x200" "low resolution" "640x480" "High resolution" 2> /tmp/dialogout.$$ koules-1.4/koules:68: resolution=`cat /tmp/dialogout.$$` koules-1.4/koules-69- if [ $resolution = "320x200" ]; then ############################################## koules-1.4/koules-74- dialog --title "Client options" --checklist "Driver options" 9 40 2 "Mouse support" "" on "Sound support" "" on 2> /tmp/dialogout.$$ koules-1.4/koules:75: drivers=`cat /tmp/dialogout.$$` koules-1.4/koules-76- mouse="-M" ############################################## koules-1.4/koules-84- dialog --title "Client options" --inputbox "Host" 9 40 "localhost" 2>/tmp/dialogout.$$ koules-1.4/koules:85: host=`cat /tmp/dialogout.$$` koules-1.4/koules-86- dialog --title "Client options" --inputbox "Inet port" 9 40 "12345" 2>/tmp/dialogout.$$ koules-1.4/koules:87: port=`cat /tmp/dialogout.$$` koules-1.4/koules-88- opt="-C$host $resolution $mouse $sound -P $port" ############################################## koules-1.4/koules-96-dialog --title "Koules options" --menu "Select game mode" 11 30 4 "g" "single" "s" "Network server" "c" "Network client" "b" "Back to main menu" 2> /tmp/dialogout.$$ koules-1.4/koules:97:mode=`cat /tmp/dialogout.$$` koules-1.4/koules-98-case $mode in ############################################## koules-1.4/koules-110-dialog --title "Koules startup menu" --menu "Select game mode" 11 30 4 "g" "single" "s" "Network server" "c" "Network client" "m" "Configuration menu" 2> /tmp/dialogout.$$ koules-1.4/koules:111:mode=`cat /tmp/dialogout.$$` koules-1.4/koules-112-case $mode in ############################################## koules-1.4/sock.h-5-extern int GetPortNum (int); koules-1.4/sock.h:6:extern char *GetSockAddr (int); koules-1.4/sock.h-7-extern int SetSocketReceiveBufferSize (int, int); ############################################## koules-1.4/sock.h-18-extern int SocketClose (int); koules-1.4/sock.h:19:extern char *DgramLastaddr (void); koules-1.4/sock.h-20-extern int DgramLastport (void); ############################################## koules-1.4/sock.c-58-} koules-1.4/sock.c:59:char *GetSockAddr(int fd) koules-1.4/sock.c-60-{ ############################################## koules-1.4/sock.c-181- memset(&addr,0,sizeof(addr)); koules-1.4/sock.c:182: addr.sin_addr.s_addr = inet_addr (host); koules-1.4/sock.c-183- if(addr.sin_addr.s_addr==-1) return -1; ############################################## koules-1.4/sock.c-196- memset(&addr,0,sizeof(addr)); koules-1.4/sock.c:197: addr.sin_addr.s_addr = inet_addr (host); koules-1.4/sock.c-198- if(addr.sin_addr.s_addr==-1) { ############################################## koules-1.4/sock.c-235-} koules-1.4/sock.c:236:char *DgramLastaddr (void) koules-1.4/sock.c-237-{ ############################################## koules-1.4/debian/changelog-196- * debian/patches/103_asm.diff: koules-1.4/debian/changelog:197: + New patch from old diff: fix asm syntax. koules-1.4/debian/changelog-198- * debian/patches/104_types.diff: ############################################## koules-1.4/debian/patches/114_destdir.diff-29- for file in *.raw; do \ koules-1.4/debian/patches/114_destdir.diff:30: auconvert -raw linu8 1 -rate 8000 -volume 40 $$file -file snd `basename $$file .raw`.au ; \ koules-1.4/debian/patches/114_destdir.diff:31:- $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(SOUNDDIR); \ koules-1.4/debian/patches/114_destdir.diff:32:+ $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(DESTDIR)$(SOUNDDIR); \ koules-1.4/debian/patches/114_destdir.diff-33- done; \ ############################################## koules-1.4/debian/patches/114_destdir.diff-59- for file in *.raw; do \ koules-1.4/debian/patches/114_destdir.diff:60: sh ../myauconvert $$file `basename $$file .raw`.au ; \ koules-1.4/debian/patches/114_destdir.diff:61:- $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(SOUNDDIR); \ koules-1.4/debian/patches/114_destdir.diff:62:+ $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(DESTDIR)$(SOUNDDIR); \ koules-1.4/debian/patches/114_destdir.diff-63- done; \ ############################################## koules-1.4/.pc/100_spelling.diff/client.c-484- } koules-1.4/.pc/100_spelling.diff/client.c:485: strcpy(hostname,GetSockAddr(socket_c)); koules-1.4/.pc/100_spelling.diff/client.c-486-/*Create connection message */ ############################################## koules-1.4/.pc/100_spelling.diff/server.c-696- * if a player connection crashed violently (SIGKILL, SIGSEGV). koules-1.4/.pc/100_spelling.diff/server.c:697: * error("SocketRead (pack from %s)", DgramLastaddr()); koules-1.4/.pc/100_spelling.diff/server.c-698- */ ############################################## koules-1.4/.pc/100_spelling.diff/server.c-731-/*Is server able to accept it? */ koules-1.4/.pc/100_spelling.diff/server.c:732: in_host = DgramLastaddr (); koules-1.4/.pc/100_spelling.diff/server.c-733- connp = conn + connected; koules-1.4/.pc/100_spelling.diff/server.c-734- connp->version = buffer[8]; koules-1.4/.pc/100_spelling.diff/server.c:735: strcpy (connp->hostname, DgramLastaddr ()); koules-1.4/.pc/100_spelling.diff/server.c-736- GETCHAR (buffer + 7, connp->version); ############################################## koules-1.4/.pc/100_spelling.diff/server.c-805- GetSocketError(sock); koules-1.4/.pc/100_spelling.diff/server.c:806: if (DgramSend (Socket , DgramLastaddr (), DgramLastport (), koules-1.4/.pc/100_spelling.diff/server.c-807- (char *) connp->initmessage, sizeof (connp->initmessage)) == -1) ############################################## koules-1.4/.pc/113_spelling_fixes.diff/server.c-696- * if a player connection crashed violently (SIGKILL, SIGSEGV). koules-1.4/.pc/113_spelling_fixes.diff/server.c:697: * error("SocketRead (pack from %s)", DgramLastaddr()); koules-1.4/.pc/113_spelling_fixes.diff/server.c-698- */ ############################################## koules-1.4/.pc/113_spelling_fixes.diff/server.c-731-/*Is server able to accept it? */ koules-1.4/.pc/113_spelling_fixes.diff/server.c:732: in_host = DgramLastaddr (); koules-1.4/.pc/113_spelling_fixes.diff/server.c-733- connp = conn + connected; koules-1.4/.pc/113_spelling_fixes.diff/server.c-734- connp->version = buffer[8]; koules-1.4/.pc/113_spelling_fixes.diff/server.c:735: strcpy (connp->hostname, DgramLastaddr ()); koules-1.4/.pc/113_spelling_fixes.diff/server.c-736- GETCHAR (buffer + 7, connp->version); ############################################## koules-1.4/.pc/113_spelling_fixes.diff/server.c-805- GetSocketError(sock); koules-1.4/.pc/113_spelling_fixes.diff/server.c:806: if (DgramSend (Socket , DgramLastaddr (), DgramLastport (), koules-1.4/.pc/113_spelling_fixes.diff/server.c-807- (char *) connp->initmessage, sizeof (connp->initmessage)) == -1) ############################################## koules-1.4/.pc/114_destdir.diff/Imakefile-115- for file in *.raw; do \ koules-1.4/.pc/114_destdir.diff/Imakefile:116: auconvert -raw linu8 1 -rate 8000 -volume 40 $$file -file snd `basename $$file .raw`.au ; \ koules-1.4/.pc/114_destdir.diff/Imakefile:117: $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(SOUNDDIR); \ koules-1.4/.pc/114_destdir.diff/Imakefile-118- done; \ ############################################## koules-1.4/.pc/114_destdir.diff/Imakefile-143- for file in *.raw; do \ koules-1.4/.pc/114_destdir.diff/Imakefile:144: sh ../myauconvert $$file `basename $$file .raw`.au ; \ koules-1.4/.pc/114_destdir.diff/Imakefile:145: $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(SOUNDDIR); \ koules-1.4/.pc/114_destdir.diff/Imakefile-146- done; \ ############################################## koules-1.4/client.c-484- } koules-1.4/client.c:485: strcpy(hostname,GetSockAddr(socket_c)); koules-1.4/client.c-486-/*Create connection message */ ############################################## koules-1.4/server.c-696- * if a player connection crashed violently (SIGKILL, SIGSEGV). koules-1.4/server.c:697: * error("SocketRead (pack from %s)", DgramLastaddr()); koules-1.4/server.c-698- */ ############################################## koules-1.4/server.c-731-/*Is server able to accept it? */ koules-1.4/server.c:732: in_host = DgramLastaddr (); koules-1.4/server.c-733- connp = conn + connected; koules-1.4/server.c-734- connp->version = buffer[8]; koules-1.4/server.c:735: strcpy (connp->hostname, DgramLastaddr ()); koules-1.4/server.c-736- GETCHAR (buffer + 7, connp->version); ############################################## koules-1.4/server.c-805- GetSocketError(sock); koules-1.4/server.c:806: if (DgramSend (Socket , DgramLastaddr (), DgramLastport (), koules-1.4/server.c-807- (char *) connp->initmessage, sizeof (connp->initmessage)) == -1) ############################################## koules-1.4/Imakefile-115- for file in *.raw; do \ koules-1.4/Imakefile:116: auconvert -raw linu8 1 -rate 8000 -volume 40 $$file -file snd `basename $$file .raw`.au ; \ koules-1.4/Imakefile:117: $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(DESTDIR)$(SOUNDDIR); \ koules-1.4/Imakefile-118- done; \ ############################################## koules-1.4/Imakefile-143- for file in *.raw; do \ koules-1.4/Imakefile:144: sh ../myauconvert $$file `basename $$file .raw`.au ; \ koules-1.4/Imakefile:145: $(INSTALL) -c $(INSTDATFLAGS) `basename $$file .raw`.au $(DESTDIR)$(SOUNDDIR); \ koules-1.4/Imakefile-146- done; \