Skip to content

Instantly share code, notes, and snippets.

View MarcinDydo's full-sized avatar

Marcin Dydo MarcinDydo

View GitHub Profile
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@MarcinDydo
MarcinDydo / tcp-proxy.py
Last active April 26, 2023 06:45 — forked from fiorix/tcp-proxy.py
twisted tcp proxy
#!/usr/bin/env python
#Simple http header steganography project
import base64
from queue import Queue
from twisted.internet import defer, protocol, reactor
class ProxyClientProtocol(protocol.Protocol):
def connectionMade(self):
print("Client: connected to peer")
self.cli_queue = self.factory.cli_queue