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 /
slsh /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
assoc.sl
1.05
KB
-rw-r--r--
colormap.sl
478
B
-rw-r--r--
life.sl
2.15
KB
-rw-r--r--
prime.sl
853
B
-rwxr-xr-x
saveobj.sl
13.64
KB
-rw-r--r--
slsmgex2.sl
486
B
-rw-r--r--
sort.sl
1.5
KB
-rwxr-xr-x
utmp.sl
1.5
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : prime.sl
#! /usr/bin/env slsh % This demo counts the number of primes between 2 and some integer private define usage () { () = fprintf (stderr, "Usage: %S <integer greater than 2>\n", __argv[0]); exit (1); } define count_primes (num) { variable size = (num - 1)/2; variable nonprimes = Char_Type[size + 1]; % last one is sentinel variable count = 1; variable prime = 3; variable i = 0; do { count++; %()=printf ("%S\n", prime); nonprimes [[i:size-1:prime]] = 1; variable i_save = i; while (i++, nonprimes[i]) ; prime += 2 * (i - i_save); } while (i < size); return count; } private variable Num; if (__argc != 2) usage (); Num = integer (__argv[1]); if (Num < 3) usage (); tic (); ()=printf ("\n\n%d primes between 2 and %d in %f seconds.\n", count_primes (Num), Num, toc ()); exit(0);
Close