Skip to content

Instantly share code, notes, and snippets.

Andrey B. Panfilov andreybpanfilov

Block or report user

Report or block andreybpanfilov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DfsContextRegistry.java
package com.emc.documentum.fs.cmis.impl.dfs.auth;
import java.util.Arrays;
import com.emc.documentum.fs.cmis.impl.dfs.utils.PreferenceUtils;
import com.emc.documentum.fs.cmis.impl.logging.CmisLogger;
import com.emc.documentum.fs.cmis.impl.logging.ICmisLogger;
import com.emc.documentum.fs.datamodel.core.context.Identity;
import com.emc.documentum.fs.datamodel.core.context.ServiceContext;
import com.emc.documentum.fs.rt.context.IServiceContext;
View CVE-2017-7220-01.py
#!/usr/bin/env python
import socket
import sys
from os.path import basename
from dctmpy.docbaseclient import DocbaseClient
from dctmpy.obj.typedobject import TypedObject
CIPHERS = "ALL:aNULL:!eNULL"
View CVE-2017-7220-02.py
#!/usr/bin/env python
import socket
import sys
from os.path import basename
from dctmpy.docbaseclient import DocbaseClient
from dctmpy.obj.typedobject import TypedObject
CIPHERS = "ALL:aNULL:!eNULL"
View CVE-2017-7221.py
#!/usr/bin/env python
import socket
import sys
from os.path import basename
from dctmpy.docbaseclient import DocbaseClient
from dctmpy.obj.typedobject import TypedObject
CIPHERS = "ALL:aNULL:!eNULL"
View FixDocbaseConnection.java
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.JarURLConnection;
import java.net.URL;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipOutputStream;
import com.documentum.thirdparty.javassist.ClassPool;
View FixDfsTube.java
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.JarURLConnection;
import java.net.URL;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipOutputStream;
import org.apache.commons.lang.StringUtils;
View 99-hosts
#!/bin/sh
#
# /etc/NetworkManager/dispatcher.d/99-hosts
#
INTERFACE=$1
STATUS=$2
if [ "x$STATUS" != "xup" ]; then
exit 0
View dfctracing.jsp
<%@ page import="java.io.BufferedInputStream" %>
<%@ page import="java.io.ByteArrayOutputStream" %>
<%@ page import="java.io.File" %>
<%@ page import="java.io.FileInputStream" %>
<%@ page import="java.io.OutputStreamWriter" %>
<%@ page import="java.io.PrintWriter" %>
<%@ page import="com.documentum.fc.common.DfPreferences" %>
<%@ page import="com.documentum.fc.tracing.impl.Tracing" %>
<%
DfPreferences preferences = DfPreferences.getInstance();
View sysobject_locks.sql
SELECT /*+ ORDERED */
sys_s.r_object_id,
sys_s.r_object_type,
blocked_sid,
blocked_sql_text,
blocking_sid,
blocking_port,
blocking_machine,
blocking_last_sql_text,
blocking_status
View threaddump.jsp
<%@page import="java.io.IOException" %>
<%@page import="java.io.PrintWriter" %>
<%@page import="java.lang.management.LockInfo" %>
<%@page import="java.lang.management.ManagementFactory" %>
<%@page import="java.lang.management.MonitorInfo" %>
<%@ page import="java.lang.management.ThreadInfo" %>
<%@ page import="java.lang.management.ThreadMXBean" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.Collections" %>
<%@ page import="java.util.List" %>
You can’t perform that action at this time.