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 : nw5sck.c * DESCRIPTION : Socket related functions. * Author : SGP * Date : January 2001. * Date Modified: June 26th 2001. */ #include "EXTERN.h" #include "perl.h" #include "nw5iop.h" #include "nw5sck.h" #include <fcntl.h> #include <sys/stat.h> // This is defined here since arpa\inet.h defines this array as an extern, // and arpa\inet.h gets included by the inet_ntoa call. char nwinet_scratch[18] = {'\0'}; u_long nw_htonl(u_long hostlong) { return htonl(hostlong); } u_short nw_htons(u_short hostshort) { return htons(hostshort); } u_long nw_ntohl(u_long netlong) { return ntohl(netlong); } u_short nw_ntohs(u_short netshort) { return ntohs(netshort); } SOCKET nw_accept(SOCKET s, struct sockaddr *addr, int *addrlen) { return ((SOCKET)(accept(s, addr, addrlen))); } int nw_bind(SOCKET s, const struct sockaddr *addr, int addrlen) { return ((int)bind(s, (struct sockaddr *)addr, addrlen)); } int nw_connect(SOCKET s, const struct sockaddr *addr, int addrlen) { return((int)connect(s, (struct sockaddr *)addr, addrlen)); } void nw_endhostent() { endhostent(); } void nw_endnetent() { endnetent(); } void nw_endprotoent() { endprotoent(); } void nw_endservent() { endservent(); } struct hostent * nw_gethostent() { return(gethostent()); } struct netent * nw_getnetent(void) { return ((struct netent *) getnetent()); } struct protoent * nw_getprotoent(void) { return ((struct protoent *) getprotoent()); } struct hostent * nw_gethostbyname(const char *name) { return(gethostbyname((char*)name)); } int nw_gethostname(char *name, int len) { return(gethostname(name, len)); } struct hostent * nw_gethostbyaddr(const char *addr, int len, int type) { return(gethostbyaddr((char*)addr, len, type)); } struct netent * nw_getnetbyaddr(long net, int type) { return(getnetbyaddr(net,type)); } struct netent * nw_getnetbyname(char *name) { return (struct netent *)getnetbyname(name); } int nw_getpeername(SOCKET s, struct sockaddr *addr, int *addrlen) { return((int)getpeername(s, addr, addrlen)); } struct protoent * nw_getprotobyname(const char *name) { return ((struct protoent *)getprotobyname((char*)name)); } struct protoent * nw_getprotobynumber(int num) { return ((struct protoent *)getprotobynumber(num)); } struct servent * nw_getservbyname(const char *name, const char *proto) { return (struct servent *)getservbyname((char*)name, (char*)proto); } struct servent * nw_getservbyport(int port, const char *proto) { return (struct servent *)getservbyport(port, (char*)proto); } struct servent * nw_getservent(void) { return (struct servent *) getservent(); } void nw_sethostent(int stayopen) { #ifdef HAS_SETHOSTENT sethostent(stayopen); #endif } void nw_setnetent(int stayopen) { #ifdef HAS_SETNETENT setnetent(stayopen); #endif } void nw_setprotoent(int stayopen) { #ifdef HAS_SETPROTENT setprotoent(stayopen); #endif } void nw_setservent(int stayopen) { #ifdef HAS_SETSERVENT setservent(stayopen); #endif } int nw_setsockopt(SOCKET s, int level, int optname, const char* optval, int optlen) { return setsockopt(s, level, optname, (char*)optval, optlen); } int nw_getsockname(SOCKET s, struct sockaddr *addr, int *addrlen) { return getsockname(s, addr, addrlen); } int nw_getsockopt(SOCKET s, int level, int optname, char *optval, int *optlen) { return ((int)getsockopt(s, level, optname, optval, optlen)); } unsigned long nw_inet_addr(const char *cp) { return inet_addr((char*)cp); } char * nw_inet_ntoa(struct in_addr in) { return inet_ntoa(in); } SOCKET nw_socket(int af, int type, int protocol) { SOCKET s; #ifndef USE_SOCKETS_AS_HANDLES s = socket(af, type, protocol); #else if((s = socket(af, type, protocol)) == INVALID_SOCKET) //errno = WSAGetLastError(); else s = s; #endif /* USE_SOCKETS_AS_HANDLES */ return s; } int nw_listen(SOCKET s, int backlog) { return(listen(s, backlog)); } int nw_send(SOCKET s, const char *buf, int len, int flags) { return(send(s,(char*)buf,len,flags)); } int nw_recv(SOCKET s, char *buf, int len, int flags) { return (recv(s, buf, len, flags)); } int nw_sendto(SOCKET s, const char *buf, int len, int flags, const struct sockaddr *to, int tolen) { return(sendto(s, (char*)buf, len, flags, (struct sockaddr *)to, tolen)); } int nw_recvfrom(SOCKET s, char *buf, int len, int flags, struct sockaddr *from, int *fromlen) { int r; int frombufsize = *fromlen; r = recvfrom(s, buf, len, flags, from, fromlen); //Not sure if the is required - chksgp if (r && frombufsize == *fromlen) (void)nw_getpeername(s, from, fromlen); return r; } int nw_select(int nfds, fd_set* rd, fd_set* wr, fd_set* ex, const struct timeval* timeout) { return(select(nfds, rd, wr, ex, (struct timeval*)timeout)); } int nw_shutdown(SOCKET s, int how) { return (shutdown(s, how)); }