Skip to content

Instantly share code, notes, and snippets.

@kocsismate
Created November 26, 2023 21:19
Show Gist options
  • Save kocsismate/bfb6206e57764e1e75ec1b2aa0195bb6 to your computer and use it in GitHub Desktop.
Save kocsismate/bfb6206e57764e1e75ec1b2aa0195bb6 to your computer and use it in GitHub Desktop.
fsockopen()
Found Occurrences in Directory ./popular-package-analysis/sources with mask '*.php' (17 usages found)
Unclassified (17 usages found)
popular-package-analysis (17 usages found)
sources/donatj/mock-webserver/src (1 usage found)
MockWebServer.php (1 usage found)
75 $open = @fsockopen($this->host, $this->port);
sources/drupal/console/src/Command (1 usage found)
ServerCommand.php (1 usage found)
138 if (fsockopen($host, $port)) {
sources/drupal/core/lib/Drupal/Core/Command (1 usage found)
ServerCommand.php (1 usage found)
119 $connection = @fsockopen($host, $port);
sources/econea/nusoap/src (2 usages found)
nusoap.php (2 usages found)
2419 $this->fp = @fsockopen($host, $this->port, $this->errno, $this->error_str, $connection_timeout);
2421 $this->fp = @fsockopen($host, $this->port, $this->errno, $this->error_str);
sources/johnpbloch/wordpress-core/wp-admin/includes (2 usages found)
class-ftp-pure.php (2 usages found)
49 $sock = @fsockopen($host, $port, $errno, $errstr, $this->_timeout);
113 $this->_ftp_data_sock=@fsockopen($this->_datahost, $this->_dataport, $errno, $errstr, $this->_timeout);
sources/johnpbloch/wordpress-core/wp-includes/PHPMailer (1 usage found)
SMTP.php (1 usage found)
411 $connection = fsockopen(
sources/monolog/monolog/src/Monolog/Handler (1 usage found)
SocketHandler.php (1 usage found)
246 return @fsockopen($this->connectionString, -1, $this->errno, $this->errstr, $this->connectionTimeout);
sources/packaged/thrift/src/Transport (1 usage found)
TSocket.php (1 usage found)
234 $this->handle_ = @fsockopen(
sources/pda/pheanstalk/src/Socket (1 usage found)
FsockopenSocket.php (1 usage found)
24 $this->socket = @fsockopen($host, $port, $error, $errorMessage, $connectTimeout);
sources/phpmailer/phpmailer/src (1 usage found)
SMTP.php (1 usage found)
411 $connection = fsockopen(
sources/phpseclib/phpseclib/phpseclib/Net (1 usage found)
SSH2.php (1 usage found)
1030 $this->fsock = @fsockopen($this->host, $this->port, $errno, $errstr, $this->curTimeout == 0 ? 100000 : $this->curTimeout);
sources/slickdeals/statsd/src/Connection (2 usages found)
TcpSocket.php (1 usage found)
72 $socket = @fsockopen($url, $port, $errorNumber, $errorMessage, $timeout);
UdpSocket.php (1 usage found)
74 $this->socket = @fsockopen($url, $port, $errorNumber, $errorMessage, $timeout);
sources/studio-42/elfinder/php (1 usage found)
elFinder.class.php (1 usage found)
2786 $fp = fsockopen(
sources/symfony/panther/src/ProcessManager (1 usage found)
WebServerReadinessProbeTrait.php (1 usage found)
34 $resource = fsockopen($hostname, $port);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment