!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/doc/libzipios++-doc/html/   drwxr-xr-x
Free 13.19 GB of 57.97 GB (22.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     test__zipinputstream_8cpp_source.html (12.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Zipios++: test_zipinputstream.cpp Source File
Zipios++
test_zipinputstream.cpp
Go to the documentation of this file.
1 
2 #include "zipios++/zipios-config.h"
3 
4 #include "zipios++/meta-iostreams.h"
5 
8 
9 using namespace zipios ;
10 
11 using std::cerr ;
12 using std::cout ;
13 using std::endl ;
14 
15 int main() {
16  try {
17  ZipInputStream is( "test.zip" ) ;
18 
19  // string str ;
20  // while ( is ) {
21  // getline( is, str ) ;
22  // cout << str ;
23  // }
24 
25  cout << is.rdbuf() ;
26 
27  is.getNextEntry() ;
28 
29  cout << is.rdbuf() ;
30 
31  is.getNextEntry() ;
32 
33  cout << is.rdbuf() ;
34 
35  cerr << "Stream.state:" << endl ;
36  cerr << "is.good() = " << is.good() << endl ;
37  cerr << "is.fail() = " << is.fail() << endl ;
38  cerr << "is.bad() = " << is.bad() << endl ;
39  cerr << "is.eof() = " << is.eof() << endl << endl;
40  cerr << "End of main" << endl ;
41  }
42  catch( IOException &e ) {
43  cerr << "IOException caught in main:" << endl ;
44  cerr << e.what() << endl ;
45  }
46  catch( ... ) {
47  cerr << "Unspecified exception caught in main:" << endl ;
48  }
49 
50  return 0;
51 }
52 
57 /*
58  Zipios++ - a small C++ library that provides easy access to .zip files.
59  Copyright (C) 2000 Thomas Søndergaard
60 
61  This library is free software; you can redistribute it and/or
62  modify it under the terms of the GNU Lesser General Public
63  License as published by the Free Software Foundation; either
64  version 2 of the License, or (at your option) any later version.
65 
66  This library is distributed in the hope that it will be useful,
67  but WITHOUT ANY WARRANTY; without even the implied warranty of
68  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
69  Lesser General Public License for more details.
70 
71  You should have received a copy of the GNU Lesser General Public
72  License along with this library; if not, write to the Free Software
73  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
74 */
An IOException is used to signal an I/O error.

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0045 ]--