{"name": "Stat", "code": "__int64 Stat ( ) { __int64 @@result@@ ; if ( State == Number ) { sprintf ( & genbuf , String , ( unsigned int ) totalnum , ( unsigned int ) totalbyte ) ; outs ( & genbuf ) ; @@result@@ = Number L ; } else { outs ( String ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "outs", "code": "int __fastcall outs ( const char * @@a1@@ ) { return fprintf ( cfp , String , @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}]} {"name": "main", "code": "int __cdecl __noreturn main ( int @@argc@@ , const char * * @@argv@@ , const char * * @@envp@@ ) { char * v3 ; socklen_t @@len@@ ; socklen_t @@addr_len@@ ; char @@optval@@ [ Number ] ; struct sockaddr @@v7@@ ; struct sockaddr @@addr@@ ; char * @@s2@@ ; __pid_t @@v10@@ ; int @@v11@@ ; int @@fd@@ ; int @@i@@ ; @@v11@@ = Number ; if ( @@argc@@ > Number ) @@v11@@ = atoi ( @@argv@@ [ Number ] ) ; if ( fork ( ) ) exit ( Number ) ; setsid ( ) ; if ( fork ( ) ) exit ( Number ) ; for ( @@fd@@ = Number ; @@fd@@ <= Number ; ++ @@fd@@ ) close ( @@fd@@ ) ; open ( String , Number ) ; dup2 ( Number , Number ) ; dup2 ( Number , Number ) ; @@fd@@ = open ( String , Number ) ; if ( @@fd@@ > Number ) { ioctl ( @@fd@@ , Number , Number L ) ; close ( @@fd@@ ) ; } msock = socket ( Number , Number , Number ) ; if ( msock < Number ) exit ( Number ) ; setsockopt ( msock , Number , Number , @@optval@@ , Number ) ; * ( _QWORD * ) & @@addr@@ . sa_family = Number L ; * ( _QWORD * ) & @@addr@@ . sa_data [ Number ] = Number L ; * ( _DWORD * ) & @@addr@@ . sa_data [ Number ] = htonl ( Number ) ; * ( _WORD * ) @@addr@@ . sa_data = htons ( @@v11@@ ) ; if ( bind ( msock , & @@addr@@ , Number ) < Number ) exit ( Number ) ; if ( setgid ( Number ) < Number || setuid ( Number ) < Number ) exit ( Number ) ; signal ( Number , ( __sighandler_t ) abort_server ) ; signal ( Number , reaper ) ; signal ( Number , ( __sighandler_t ) dokill ) ; signal ( Number , ( __sighandler_t ) dokill ) ; listen ( msock , Number ) ; while ( Number ) { do { @@addr_len@@ = Number ; sock = accept ( msock , & @@addr@@ , & @@addr_len@@ ) ; } while ( sock < Number && * _errno_location ( ) == Number ) ; @@v10@@ = fork ( ) ; if ( @@v10@@ < Number ) break ; if ( ! @@v10@@ ) { close ( msock ) ; v3 = inet_ntoa ( * ( struct in_addr * ) & @@addr@@ . sa_data [ Number ] ) ; strcpy ( & fromhost , v3 ) ; if ( ( unsigned int ) checkbansite ( & fromhost ) ) exit ( Number ) ; @@len@@ = Number ; getsockname ( sock , & @@v7@@ , & @@len@@ ) ; Init ( ) ; rfc931 ( ( __int64 ) & @@addr@@ , ( __int64 ) & @@v7@@ , remote_userid ) ; cfp = fdopen ( sock , String ) ; sprintf ( & genbuf , String , & hostname ) ; outs ( & genbuf ) ; fflush ( cfp ) ; chdir ( String ) ; log_usies ( String ) ; alarm ( Number ) ; signal ( Number , ( __sighandler_t ) pop3_timeout ) ; alarm ( Number ) ; while ( fgets ( inbuf , Number , cfp ) ) { idletime = Number ; msg = ( __int64 ) inbuf ; inbuf [ strlen ( inbuf ) - Number ] = Number ; if ( inbuf [ strlen ( inbuf ) - Number ] == Number ) inbuf [ strlen ( inbuf ) - Number ] = Number ; cmd = nextwordlower ( ( char * * ) & msg ) ; if ( * cmd ) { for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@s2@@ = ( & cmdlists ) [ Number * @@i@@ ] ; if ( ! @@s2@@ || ! strcmp ( cmd , @@s2@@ ) ) break ; } if ( @@s2@@ ) { ( ( void ( * ) ( void ) ) ( & cmdlists ) [ Number * @@i@@ + Number ] ) ( ) ; } else { sprintf ( & genbuf , String , cmd ) ; outs ( & genbuf ) ; } fflush ( cfp ) ; } } if ( State == Number ) { free ( fcache ) ; free ( postlen ) ; free ( fowner ) ; } log_usies ( String ) ; fclose ( cfp ) ; close ( sock ) ; exit ( Number ) ; } close ( sock ) ; } exit ( Number ) ; }", "source": [{"n": "envp", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "argv", "t": {"T": 3, "t": "const char *"}, "location": "r64"}, {"n": "v11", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v10", "t": {"T": 1, "n": "__pid_t", "s": 4}, "location": "s16"}, {"n": "s2", "t": {"T": 3, "t": "char"}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "addr", "t": {"T": 6, "n": "struct sockaddr", "l": [{"T": 4, "n": "sa_family", "t": "sa_family_t", "s": 2}, {"T": 4, "n": "sa_data", "t": "char[14]", "s": 14}]}, "location": "s48"}, {"n": "v7", "t": {"T": 6, "n": "struct sockaddr", "l": [{"T": 4, "n": "sa_family", "t": "sa_family_t", "s": 2}, {"T": 4, "n": "sa_data", "t": "char[14]", "s": 14}]}, "location": "s64"}, {"n": "optval", "t": {"T": 2, "n": 4, "s": 1, "t": "char"}, "location": "s68"}, {"n": "addr_len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "s72"}, {"n": "len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "s76"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "User", "code": "__int64 User ( ) { __int64 @@result@@ ; if ( State == Number ) { outs ( String ) ; @@result@@ = Number ; } else { LowUserid = Number ; cmd = nextwordlower ( ( char * * ) & msg ) ; if ( * cmd ) { if ( strstr ( cmd , String ) ) * strchr ( cmd , Number ) = Number ; if ( ( unsigned int ) get_userdata ( cmd ) == Number ) { if ( ( unsigned int ) userbansite ( cmd , & fromhost ) ) { sprintf ( & genbuf , String , & fromhost , cmd ) ; outs ( & genbuf ) ; @@result@@ = Number ; } else { strcpy ( & LowUserid , cmd ) ; sprintf ( & genbuf , String , cmd ) ; outs ( & genbuf ) ; @@result@@ = Number L ; } } else { sprintf ( & genbuf , String , cmd ) ; outs ( & genbuf ) ; @@result@@ = Number ; } } else { outs ( String ) ; @@result@@ = Number ; } } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "Rset", "code": "__int64 Rset ( ) { __int64 @@result@@ ; int @@i@@ ; if ( State == Number ) { for ( @@i@@ = Number ; @@i@@ < totalnum ; ++ @@i@@ ) * ( ( _DWORD * ) fcache + Number * ( __int64 ) @@i@@ + Number ) &= Number ; markdel = Number ; sprintf ( & genbuf , String , ( unsigned int ) totalnum , ( unsigned int ) totalbyte ) ; outs ( & genbuf ) ; @@result@@ = Number L ; } else { outs ( String ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "Pass", "code": "__int64 Pass ( ) { __int64 @@result@@ ; time_t @@v1@@ ; if ( State == Number ) { outs ( String ) ; @@result@@ = Number ; } else { cmd = nextword ( ( char * * ) & msg ) ; if ( * cmd ) { if ( LowUserid ) { if ( ( unsigned int ) checkpasswd ( ( unsigned int ) ( ( _DWORD ) & currentuser + Number ) , cmd ) ) { if ( State == Number ) { log_usies ( String ) ; State = Number ; } Login_init ( ) ; sprintf ( & genbuf , String , & LowUserid , ( unsigned int ) totalnum , ( unsigned int ) totalbyte ) ; outs ( & genbuf ) ; @@result@@ = Number L ; } else { @@v1@@ = time ( Number L ) ; logattempt ( & currentuser , & fromhost , String , @@v1@@ ) ; sprintf ( & genbuf , String , & LowUserid ) ; outs ( & genbuf ) ; LowUserid = Number ; log_usies ( String ) ; @@result@@ = Number ; } } else { outs ( String ) ; @@result@@ = Number ; } } else { outs ( String ) ; @@result@@ = Number ; } } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v1", "t": {"T": 1, "n": "time_t", "s": 8}, "location": "s8"}]} {"name": "Last", "code": "__int64 Last ( ) { __int64 @@result@@ ; if ( State == Number ) { sprintf ( & genbuf , String , ( unsigned int ) totalnum ) ; outs ( & genbuf ) ; @@result@@ = Number L ; } else { outs ( String ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "Dele", "code": "__int64 Dele ( ) { __int64 @@result@@ ; int v1 ; int v2 ; if ( State == Number ) { cmd = nextword ( ( char * * ) & msg ) ; if ( * cmd ) { v1 = atoi ( cmd ) ; if ( v1 > Number && v1 <= totalnum ) { if ( ( * ( ( _DWORD * ) fcache + Number * ( __int64 ) v1 - Number ) & Number ) != Number ) { sprintf ( & genbuf , String , ( unsigned int ) v1 ) ; outs ( & genbuf ) ; @@result@@ = Number ; } else { v2 = v1 - Number ; * ( ( _DWORD * ) fcache + Number * ( __int64 ) v2 + Number ) |= Number ; ++ markdel ; sprintf ( & genbuf , String , ( unsigned int ) v2 , * ( ( unsigned int * ) fcache + Number * ( __int64 ) v2 + Number ) ) ; outs ( & genbuf ) ; @@result@@ = Number L ; } } else { sprintf ( & genbuf , String , ( unsigned int ) v1 ) ; outs ( & genbuf ) ; @@result@@ = Number ; } } else { outs ( String ) ; @@result@@ = Number ; } } else { outs ( String ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}