Skip to content

Instantly share code, notes, and snippets.

View ryanstrandt's full-sized avatar

Ryan Strandt ryanstrandt

  • Eli Lilly
  • Indianapolis, IN
View GitHub Profile
# Active Collab
# domain: ac.glccc.org
# public: /home/gladmin/public_html/ac.glccc.org/public/
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName ac.glccc.org
ServerAlias ac.glccc.org
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 30000
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
Apr 14 15:02:56 mail sshd[7465]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
Apr 14 15:02:56 mail sshd[7448]: debug1: Forked child 7465.
Apr 14 15:02:56 mail sshd[7465]: debug1: inetd sockets after dupping: 3, 3
Apr 14 15:02:56 mail sshd[7465]: Connection from 'myip' port 54424
Apr 14 15:02:56 mail sshd[7465]: debug1: Client protocol version 2.0; client software version OpenSSH_5.1
Apr 14 15:02:56 mail sshd[7465]: debug1: match: OpenSSH_5.1 pat OpenSSH*
Apr 14 15:02:56 mail sshd[7465]: debug1: Enabling compatibility mode for protocol 2.0
Apr 14 15:02:56 mail sshd[7465]: debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-3ubuntu1
Apr 14 15:02:56 mail sshd[7465]: debug1: do_cleanup
<?php
if (isset($_POST["PHPSESSID"])) {
session_id($_POST["PHPSESSID"]);
}
session_start();
if (!isset($_FILES["Filedata"]) || !is_uploaded_file($_FILES["Filedata"]["tmp_name"]) || $_FILES["Filedata"]["error"] != 0) {
// Usually we'll only get an invalid upload if our PHP.INI upload sizes are smaller than the size of the file we allowed
// to be uploaded.
header("HTTP/1.1 500 File Upload Error");
<?php
session_start();
if (count($_FILES)) {
// Handle degraded form uploads here. Degraded form uploads are POSTed to index.php. SWFUpload uploads
// are POSTed to upload.php
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
if (isset($_POST["PHPSESSID"])) {
session_id($_POST["PHPSESSID"]);
}
session_start();
if (!isset($_FILES["Filedata"]) || !is_uploaded_file($_FILES["Filedata"]["tmp_name"]) || $_FILES["Filedata"]["error"] != 0) {
// Usually we'll only get an invalid upload if our PHP.INI upload sizes are smaller than the size of the file we allowed
// to be uploaded.
header("HTTP/1.1 500 File Upload Error");