Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.142.35.236
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
include /
nodejs /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
aliased_buffer.h
6.42
KB
-rw-r--r--
async_wrap-inl.h
3.33
KB
-rw-r--r--
async_wrap.h
9.16
KB
-rw-r--r--
base64.h
5.82
KB
-rw-r--r--
base_object-inl.h
4.02
KB
-rw-r--r--
base_object.h
4.43
KB
-rw-r--r--
connect_wrap.h
617
B
-rw-r--r--
connection_wrap.h
699
B
-rw-r--r--
debug_utils.h
4.29
KB
-rw-r--r--
env-inl.h
30.64
KB
-rw-r--r--
env.h
46.48
KB
-rw-r--r--
handle_wrap.h
3.91
KB
-rw-r--r--
inspector_agent.h
4.13
KB
-rw-r--r--
inspector_io.h
2.63
KB
-rw-r--r--
inspector_socket.h
1.46
KB
-rw-r--r--
inspector_socket_server.h
3.21
KB
-rw-r--r--
js_stream.h
1.58
KB
-rw-r--r--
memory_tracker-inl.h
10.83
KB
-rw-r--r--
memory_tracker.h
9.96
KB
-rw-r--r--
module_wrap.h
3.07
KB
-rw-r--r--
node.h
35.16
KB
-rw-r--r--
node_api.h
35.44
KB
-rw-r--r--
node_api_types.h
4.16
KB
-rw-r--r--
node_buffer.h
3.4
KB
-rw-r--r--
node_code_cache.h
432
B
-rw-r--r--
node_constants.h
3.11
KB
-rw-r--r--
node_context_data.h
1.14
KB
-rw-r--r--
node_contextify.h
4.81
KB
-rw-r--r--
node_counters.h
2.37
KB
-rw-r--r--
node_crypto.h
23.92
KB
-rw-r--r--
node_crypto_bio.h
5.44
KB
-rw-r--r--
node_crypto_clienthello-inl.h
2.62
KB
-rw-r--r--
node_crypto_clienthello.h
4
KB
-rw-r--r--
node_crypto_groups.h
23.12
KB
-rw-r--r--
node_dtrace.h
2.91
KB
-rw-r--r--
node_errors.h
6.06
KB
-rw-r--r--
node_file.h
10.16
KB
-rw-r--r--
node_http2.h
47.76
KB
-rw-r--r--
node_http2_state.h
4.72
KB
-rw-r--r--
node_i18n.h
2.4
KB
-rw-r--r--
node_internals.h
28.47
KB
-rw-r--r--
node_javascript.h
1.72
KB
-rw-r--r--
node_messaging.h
8.38
KB
-rw-r--r--
node_mutex.h
4.42
KB
-rw-r--r--
node_object_wrap.h
3.7
KB
-rw-r--r--
node_options-inl.h
14.78
KB
-rw-r--r--
node_options.h
12.25
KB
-rw-r--r--
node_perf.h
3.64
KB
-rw-r--r--
node_perf_common.h
3
KB
-rw-r--r--
node_persistent.h
936
B
-rw-r--r--
node_platform.h
5.14
KB
-rw-r--r--
node_revert.h
2.21
KB
-rw-r--r--
node_root_certs.h
223.29
KB
-rw-r--r--
node_stat_watcher.h
2.15
KB
-rw-r--r--
node_url.h
6.16
KB
-rw-r--r--
node_version.h
3.79
KB
-rw-r--r--
node_watchdog.h
3.03
KB
-rw-r--r--
node_win32_etw_provider-inl.h
11.67
KB
-rw-r--r--
node_win32_etw_provider.h
3.67
KB
-rw-r--r--
node_win32_perfctr_provider.h
2.14
KB
-rw-r--r--
node_worker.h
2.88
KB
-rw-r--r--
pipe_wrap.h
2.62
KB
-rw-r--r--
req_wrap-inl.h
5.44
KB
-rw-r--r--
req_wrap.h
1.87
KB
-rw-r--r--
sharedarraybuffer_metadata.h
2.34
KB
-rw-r--r--
spawn_sync.h
6.82
KB
-rw-r--r--
stream_base-inl.h
14.08
KB
-rw-r--r--
stream_base.h
13.46
KB
-rw-r--r--
stream_pipe.h
2
KB
-rw-r--r--
stream_wrap.h
4.03
KB
-rw-r--r--
string_bytes.h
5.14
KB
-rw-r--r--
string_decoder-inl.h
876
B
-rw-r--r--
string_decoder.h
1.5
KB
-rw-r--r--
string_search.h
20.53
KB
-rw-r--r--
tcp_wrap.h
3.59
KB
-rw-r--r--
tls_wrap.h
6.61
KB
-rw-r--r--
tty_wrap.h
2.22
KB
-rw-r--r--
udp_wrap.h
4.12
KB
-rw-r--r--
util-inl.h
14.06
KB
-rw-r--r--
util.h
15.9
KB
-rw-r--r--
v8abbr.h
5.03
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tls_wrap.h
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef SRC_TLS_WRAP_H_ #define SRC_TLS_WRAP_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "node.h" #include "node_crypto.h" // SSLWrap #include "async_wrap.h" #include "env.h" #include "stream_wrap.h" #include "v8.h" #include <openssl/ssl.h> #include <string> namespace node { // Forward-declarations class WriteWrap; namespace crypto { class SecureContext; class NodeBIO; } class TLSWrap : public AsyncWrap, public crypto::SSLWrap<TLSWrap>, public StreamBase, public StreamListener { public: ~TLSWrap() override; static void Initialize(v8::Local<v8::Object> target, v8::Local<v8::Value> unused, v8::Local<v8::Context> context); int GetFD() override; bool IsAlive() override; bool IsClosing() override; // JavaScript functions int ReadStart() override; int ReadStop() override; ShutdownWrap* CreateShutdownWrap( v8::Local<v8::Object> req_wrap_object) override; int DoShutdown(ShutdownWrap* req_wrap) override; int DoWrite(std::unique_ptr<WriteWrap>& w, uv_buf_t* bufs, size_t count, uv_stream_t* send_handle) override; // Return error_ string or nullptr if it's empty. const char* Error() const override; // Reset error_ string to empty. Not related to "clear text". void ClearError() override; void NewSessionDoneCb(); void MemoryInfo(MemoryTracker* tracker) const override; SET_MEMORY_INFO_NAME(TLSWrap) SET_SELF_SIZE(TLSWrap) std::string diagnostic_name() const override; protected: inline StreamBase* underlying_stream() { return static_cast<StreamBase*>(stream_); } static const int kClearOutChunkSize = 16384; // Maximum number of bytes for hello parser static const int kMaxHelloLength = 16384; // Usual ServerHello + Certificate size static const int kInitialClientBufferLength = 4096; // Maximum number of buffers passed to uv_write() static const int kSimultaneousBufferCount = 10; TLSWrap(Environment* env, Kind kind, StreamBase* stream, crypto::SecureContext* sc); static void SSLInfoCallback(const SSL* ssl_, int where, int ret); void InitSSL(); // SSL has a "clear" text (unencrypted) side (to/from the node API) and // encrypted ("enc") text side (to/from the underlying socket/stream). // On each side data flows "in" or "out" of SSL context. // // EncIn() doesn't exist. Encrypted data is pushed from underlying stream into // enc_in_ via the stream listener's OnStreamAlloc()/OnStreamRead() interface. void EncOut(); // Write encrypted data from enc_out_ to underlying stream. void ClearIn(); // SSL_write() clear data "in" to SSL. void ClearOut(); // SSL_read() clear text "out" from SSL. // Call Done() on outstanding WriteWrap request. bool InvokeQueued(int status, const char* error_str = nullptr); // Drive the SSL state machine by attempting to SSL_read() and SSL_write() to // it. Transparent handshakes mean SSL_read() might trigger I/O on the // underlying stream even if there is no clear text to read or write. inline void Cycle() { // Prevent recursion if (++cycle_depth_ > 1) return; for (; cycle_depth_ > 0; cycle_depth_--) { ClearIn(); ClearOut(); // EncIn() doesn't exist, it happens via stream listener callbacks. EncOut(); } } AsyncWrap* GetAsyncWrap() override; bool IsIPCPipe() override; // Resource implementation void OnStreamAfterWrite(WriteWrap* w, int status) override; uv_buf_t OnStreamAlloc(size_t size) override; void OnStreamRead(ssize_t nread, const uv_buf_t& buf) override; v8::Local<v8::Value> GetSSLError(int status, int* err, std::string* msg); static void OnClientHelloParseEnd(void* arg); static void Wrap(const v8::FunctionCallbackInfo<v8::Value>& args); static void Receive(const v8::FunctionCallbackInfo<v8::Value>& args); static void Start(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetVerifyMode(const v8::FunctionCallbackInfo<v8::Value>& args); static void EnableSessionCallbacks( const v8::FunctionCallbackInfo<v8::Value>& args); static void EnableTrace(const v8::FunctionCallbackInfo<v8::Value>& args); static void EnableCertCb(const v8::FunctionCallbackInfo<v8::Value>& args); static void DestroySSL(const v8::FunctionCallbackInfo<v8::Value>& args); static void GetServername(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetServername(const v8::FunctionCallbackInfo<v8::Value>& args); static int SelectSNIContextCallback(SSL* s, int* ad, void* arg); crypto::SecureContext* sc_; // BIO buffers hold encrypted data. BIO* enc_in_ = nullptr; // StreamListener fills this for SSL_read(). BIO* enc_out_ = nullptr; // SSL_write()/handshake fills this for EncOut(). // Waiting for ClearIn() to pass to SSL_write(). std::vector<char> pending_cleartext_input_; size_t write_size_ = 0; std::unique_ptr<WriteWrap> current_write_ = nullptr; WriteWrap* current_empty_write_ = nullptr; bool write_callback_scheduled_ = false; bool started_ = false; bool established_ = false; bool shutdown_ = false; std::string error_; int cycle_depth_ = 0; // If true - delivered EOF to the js-land, either after `close_notify`, or // after the `UV_EOF` on socket. bool eof_ = false; private: static void GetWriteQueueSize( const v8::FunctionCallbackInfo<v8::Value>& info); }; } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #endif // SRC_TLS_WRAP_H_
Close