Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
NetWare /
Delete
Unzip
Name
Size
Permission
Date
Action
bat
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
t
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
testnlm
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
CLIBsdio.h
5.53
KB
-r--r--r--
2014-12-27 11:48
CLIBstr.h
3.45
KB
-r--r--r--
2014-12-27 11:48
CLIBstuf.c
6.1
KB
-r--r--r--
2014-12-27 11:48
CLIBstuf.h
810
B
-r--r--r--
2014-12-27 11:48
MP.imp
141
B
-r--r--r--
2014-12-27 11:48
Main.c
6.79
KB
-r--r--r--
2014-12-27 11:48
Makefile
39.24
KB
-rw-r--r--
2015-01-28 21:08
NWTInfo.c
13.66
KB
-r--r--r--
2014-12-27 11:48
NWUtil.c
21.45
KB
-r--r--r--
2014-12-27 11:48
Nwmain.c
34.43
KB
-r--r--r--
2014-12-27 11:48
Nwpipe.c
15.59
KB
-r--r--r--
2014-12-27 11:48
config.wc
21.06
KB
-r--r--r--
2014-12-27 11:49
config_H.wc
104.08
KB
-rw-r--r--
2015-01-28 21:08
config_h.PL
2.35
KB
-r--r--r--
2014-12-27 11:48
config_sh.PL
2.04
KB
-r--r--r--
2014-12-27 11:48
deb.h
916
B
-r--r--r--
2014-12-27 11:48
dl_netware.xs
4.48
KB
-r--r--r--
2014-12-27 11:48
intdef.h
2.15
KB
-r--r--r--
2014-12-27 11:48
interface.c
4.01
KB
-r--r--r--
2014-12-27 11:48
interface.cpp
4.47
KB
-r--r--r--
2014-12-27 11:48
interface.h
957
B
-r--r--r--
2014-12-27 11:48
iperlhost.h
1.04
KB
-r--r--r--
2014-12-27 11:48
netware.h
2.32
KB
-r--r--r--
2014-12-27 11:48
nw5.c
18.5
KB
-r--r--r--
2014-12-27 11:48
nw5iop.h
4.54
KB
-r--r--r--
2014-12-27 11:48
nw5sck.c
5.02
KB
-r--r--r--
2014-12-27 11:48
nw5sck.h
4.29
KB
-r--r--r--
2014-12-27 11:48
nw5thread.c
1.45
KB
-r--r--r--
2014-12-27 11:48
nw5thread.h
4.88
KB
-r--r--r--
2014-12-27 11:48
nwhashcls.cpp
5.09
KB
-r--r--r--
2014-12-27 11:48
nwhashcls.h
1.35
KB
-r--r--r--
2014-12-27 11:48
nwperlhost.h
35.25
KB
-r--r--r--
2014-12-27 11:48
nwperlsys.c
4.87
KB
-r--r--r--
2014-12-27 11:48
nwperlsys.h
25.81
KB
-r--r--r--
2014-12-27 11:48
nwpipe.h
1.11
KB
-r--r--r--
2014-12-27 11:48
nwplglob.c
2.19
KB
-r--r--r--
2014-12-27 11:48
nwplglob.h
468
B
-r--r--r--
2014-12-27 11:48
nwstdio.h
4.22
KB
-r--r--r--
2014-12-27 11:48
nwtinfo.h
1.81
KB
-r--r--r--
2014-12-27 11:48
nwutil.h
2.06
KB
-r--r--r--
2014-12-27 11:48
nwvmem.h
6.71
KB
-r--r--r--
2014-12-27 11:48
perllib.cpp
6.2
KB
-r--r--r--
2014-12-27 11:48
splittree.pl
527
B
-r--r--r--
2014-12-27 11:48
sv_nw.c
572
B
-r--r--r--
2014-12-27 11:48
win32ish.h
666
B
-r--r--r--
2014-12-27 11:48
Save
Rename
/* * Copyright © 2001 Novell, Inc. All Rights Reserved. * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * */ /* * FILENAME : hashcls.cpp * DESCRIPTION : Implementation of Equivalent of Hash class, NWPerlHashList and NWPerlKeyHashList * * Author : Srivathsa M * Date Created : July 26 2001 */ #include "nwhashcls.h" NWPerlHashList::NWPerlHashList() { //initialize the hash list to null for(int i=0;i<BUCKET_SIZE;i++) MemListHash[i] = NULL; DEBUGPRINT("In constructor\n"); } NWPerlHashList::~NWPerlHashList() { DEBUGPRINT("In destructor\n"); removeAll(); } int NWPerlHashList::insert(void *ldata) { HASHNODE *list = new HASHNODE; if (list) { list->data = ldata; list->next = NULL; unsigned long Bucket = ((unsigned long)ldata) % BUCKET_SIZE; if (MemListHash[Bucket]) { //Elements existing, insert at the beginning list->next = MemListHash[Bucket]; MemListHash[Bucket] = list; DEBUGPRINT("Inserted to %d\n",Bucket); } else { //First element MemListHash[Bucket] = list; DEBUGPRINT("Inserted first time to %d\n",Bucket); } return 1; } else return 0; } int NWPerlHashList::remove(void *ldata) { unsigned long Bucket = ((unsigned long)ldata) % BUCKET_SIZE; HASHNODE *list = MemListHash[Bucket]; if (list) { int found = 0; HASHNODE *next =list; HASHNODE *prev =NULL; do { if (list->data != ldata) { prev = list; list = list->next; } else { found = 1; next = list->next; /*if(list->data) { free(list->data); list->data = NULL; }*/ //ConsolePrintf ("A:%x;",list->data); delete list; list = NULL; if (prev) { prev->next = next; } else { MemListHash[Bucket]=next; } DEBUGPRINT("Removed element from %d\n",Bucket); } ThreadSwitchWithDelay(); } while(list && !found); // if (!found) // ConsolePrintf("Couldn;t find %x in Bucket %d\n",ldata,Bucket); return(found); } return 1; } void NWPerlHashList::forAll( void (*user_fn)(void *, void*), void *data ) const { for(int i=0; i<BUCKET_SIZE; i++) { HASHNODE *next = MemListHash[i]; while(next) { HASHNODE *temp = next->next; if(next->data) { DEBUGPRINT("- To remove element from bucket %d\n",i); user_fn( next->data, data ); } next = temp; ThreadSwitchWithDelay(); } } return ; }; void NWPerlHashList::removeAll( ) const { for(int i=0; i<BUCKET_SIZE; i++) { HASHNODE *next = MemListHash[i]; while(next) { HASHNODE *temp = next->next; delete next; next = temp; ThreadSwitchWithDelay(); } } return ; }; /** NWPerlKeyHashList::NWPerlKeyHashList() { //initialize the hash list to null for(int i=0;i<BUCKET_SIZE;i++) MemListHash[i] = NULL; DEBUGPRINT("In constructor\n"); } NWPerlKeyHashList::~NWPerlKeyHashList() { DEBUGPRINT("In destructor\n"); removeAll(); } int NWPerlKeyHashList::insert(void *key, void *ldata) { KEYHASHNODE *list = new KEYHASHNODE; if (list) { list->key = key; list->data = ldata; list->next = NULL; unsigned long Bucket = ((unsigned long)key) % BUCKET_SIZE; if (MemListHash[Bucket]) { //Elements existing, insert at the beginning list->next = MemListHash[Bucket]; MemListHash[Bucket] = list; DEBUGPRINT("Inserted to %d\n",Bucket); } else { //First element MemListHash[Bucket] = list; DEBUGPRINT("Inserted first time to %d\n",Bucket); } return 1; } else return 0; } int NWPerlKeyHashList::remove(void *key) { unsigned long Bucket = ((unsigned long)key) % BUCKET_SIZE; KEYHASHNODE *list = MemListHash[Bucket]; if (list) { int found = 0; KEYHASHNODE *next =list; KEYHASHNODE *prev =NULL; do { if (list->key != key) { prev = list; list = list->next; } else { found = 1; next = list->next; delete list; list = NULL; if (prev) { prev->next = next; } else { MemListHash[Bucket]=next; } DEBUGPRINT("Removed element from %d\n",Bucket); } } while(list && !found); // if (!found) // ConsolePrintf("Couldn;t find %x in Bucket %d\n",key,Bucket); return(found); } return 1; } void NWPerlKeyHashList::forAll( void (*user_fn)(void *, void*), void *data ) const { for(int i=0; i<BUCKET_SIZE; i++) { KEYHASHNODE *next = MemListHash[i]; while(next) { KEYHASHNODE *temp = next->next; if(next->data) { DEBUGPRINT("- To remove element from bucket %d\n",i); user_fn( next->data, data ); } next = temp; ThreadSwitchWithDelay(); } } return ; }; int NWPerlKeyHashList::find(void *key,void **pData) { for(int i=0; i<BUCKET_SIZE; i++) { KEYHASHNODE *next = MemListHash[i]; while(next) { if(next->key==key) { *pData=next->data; return 1; } next = next->next; ThreadSwitchWithDelay(); } } return 0; } void NWPerlKeyHashList::removeAll( ) const { for(int i=0; i<BUCKET_SIZE; i++) { KEYHASHNODE *next = MemListHash[i]; while(next) { KEYHASHNODE *temp = next->next; delete next; next = temp; ThreadSwitchWithDelay(); } } return ; }; **/