Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
wireshark /
[ HOME SHELL ]
Name
Size
Permission
Action
?;
diameter
[ DIR ]
drwxr-xr-x
?;
dtds
[ DIR ]
drwxr-xr-x
?;
help
[ DIR ]
drwxr-xr-x
?;
profiles
[ DIR ]
drwxr-xr-x
?;
radius
[ DIR ]
drwxr-xr-x
?;
tpncp
[ DIR ]
drwxr-xr-x
?;
wimaxasncp
[ DIR ]
drwxr-xr-x
AUTHORS-SHORT
38.39
KB
-rw-r--r--
COPYING
26.62
KB
-rw-r--r--
capinfos.html
12.64
KB
-rw-r--r--
cfilters
515
B
-rw-r--r--
colorfilters
1.82
KB
-rw-r--r--
console.lua
3.41
KB
-rw-r--r--
dfilters
659
B
-rw-r--r--
dftest.html
1.24
KB
-rw-r--r--
dtd_gen.lua
8.18
KB
-rw-r--r--
dumpcap.html
17.06
KB
-rw-r--r--
editcap.html
16.05
KB
-rw-r--r--
ipmap.html
4.05
KB
-rw-r--r--
manuf
1.41
MB
-rw-r--r--
mergecap.html
7.15
KB
-rw-r--r--
pdml2html.xsl
5.92
KB
-rw-r--r--
randpkt.html
3.96
KB
-rw-r--r--
rawshark.html
23.49
KB
-rw-r--r--
reordercap.html
2.85
KB
-rw-r--r--
services
918.31
KB
-rw-r--r--
smi_modules
315
B
-rw-r--r--
text2pcap.html
11.16
KB
-rw-r--r--
tshark.html
79.91
KB
-rw-r--r--
wireshark-filter.html
17.43
KB
-rw-r--r--
wireshark.html
155.65
KB
-rw-r--r--
ws.css
3.82
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pdml2html.xsl
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- This XSLT will convert a PDML file, saved by Wireshark, into HTML. The HTML page should look like Wireshark. For questions contact Dirk Jagdmann (doj@cubic.org). Version: 2010-06-09 --> <!-- set parameters of the HTML output --> <xsl:output method="html" encoding="UTF-8" omit-xml-declaration="no" standalone="yes" indent="yes"/> <!-- this matches the "field" tag --> <xsl:template match="field">     <!-- indent with 3 non-breaking spaces --> <!-- output either the "showname" or "show" attribute --> <xsl:choose> <xsl:when test="string-length(@showname)>0"> <xsl:value-of select="@showname"/><br/> </xsl:when> <xsl:otherwise> <!--<xsl:value-of select="@name"/>:--> <xsl:value-of select="@show"/><br/> </xsl:otherwise> </xsl:choose> <xsl:apply-templates/> <!-- we expect to match "field" tags --> </xsl:template> <!-- this matches the "packet" tag --> <xsl:template match="packet"> <!-- declare some variables for later use --> <xsl:variable name="frame_num" select="proto[@name='frame']/field[@name='frame.number']/@show"/> <xsl:variable name="frame_id" select="concat('f',$frame_num)"/> <xsl:variable name="frame_c" select="concat($frame_id,'c')"/> <!-- the "title" bar of the frame --> <div width="100%" id="{$frame_id}"> <a href="javascript:toggle_node('{$frame_c}')">⇒</a> <!-- #8658 is a "rArr" (double right arrow) character --> Frame <xsl:value-of select="$frame_num"/>: <xsl:for-each select="proto[@name!='geninfo']"> <xsl:value-of select="@name"/>, </xsl:for-each> <small><a href="javascript:hide_node('{$frame_id}')">[X]</a></small> </div> <!-- the frame contents are stored in a div, so we can toggle it --> <div width="100%" id="{$frame_c}" style="display:none"> <!-- loop trough all proto tags, but skip the "geninfo" one --> <xsl:for-each select="proto[@name!='geninfo']"> <xsl:variable name="proto" select="concat($frame_id,@name)"/> <!-- the "title" bar of the proto --> <div width="100%" style="background-color:#e5e5e5; margin-bottom: 2px">  <a href="javascript:toggle_node('{$proto}')">⇒</a> <xsl:value-of select="@showname"/> <!-- print "proto" details inside another div --> <div width="100%" id="{$proto}" style="display:none"> <xsl:apply-templates/> <!-- we expect to match "field" tags --> </div> </div> </xsl:for-each> </div> <!-- use the javascript function set_node_color() to set the color of the frame title bar. Defer colorization until the full page has been loaded. If the browser would support the XPath function replace() we could simply set the class attribute of the title bar div, but for now we're stuck with class names from Wireshark's colorfilters that contain spaces and we can't handle them in CSS. --> <script type="text/javascript"> dojo.addOnLoad(function(){ set_node_color( '<xsl:value-of select="$frame_id"/>', '<xsl:value-of select="proto[@name='frame']/field[@name='frame.coloring_rule.name']/@show"/>' ); }); </script> </xsl:template> <xsl:template match="pdml"> Capture Filename: <b><xsl:value-of select="@capture_file"/></b> PDML created: <b><xsl:value-of select="@time"/></b> <tt> <xsl:apply-templates/> <!-- we expect to match the "packet" nodes --> </tt> </xsl:template> <!-- this block matches the start of the PDML file --> <xsl:template match="/"> <html> <head> <title>poor man's Wireshark</title> <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js" type="text/javascript"></script> <script type="text/javascript"> function set_node(node, str) { if(dojo.isString(node)) node = dojo.byId(node); if(!node) return; node.style.display = str; } function toggle_node(node) { if(dojo.isString(node)) node = dojo.byId(node); if(!node) return; set_node(node, (node.style.display != 'none') ? 'none' : 'block'); } function hide_node(node) { set_node(node, 'none'); } // this function was generated by colorfilters2js.pl function set_node_color(node,colorname) { if(dojo.isString(node)) node = dojo.byId(node); if(!node) return; var fg; var bg; if(colorname == 'Bad TCP') { bg='#000000'; fg='#ff5f5f'; } if(colorname == 'HSRP State Change') { bg='#000000'; fg='#fff600'; } if(colorname == 'Spanning Tree Topology Change') { bg='#000000'; fg='#fff600'; } if(colorname == 'OSPF State Change') { bg='#000000'; fg='#fff600'; } if(colorname == 'ICMP errors') { bg='#000000'; fg='#00ff0e'; } if(colorname == 'ARP') { bg='#d6e8ff'; fg='#000000'; } if(colorname == 'ICMP') { bg='#c2c2ff'; fg='#000000'; } if(colorname == 'TCP RST') { bg='#900000'; fg='#fff680'; } if(colorname == 'TTL low or unexpected') { bg='#900000'; fg='#ffffff'; } if(colorname == 'Checksum Errors') { bg='#000000'; fg='#ff5f5f'; } if(colorname == 'SMB') { bg='#fffa99'; fg='#000000'; } if(colorname == 'HTTP') { bg='#8dff7f'; fg='#000000'; } if(colorname == 'IPX') { bg='#ffe3e5'; fg='#000000'; } if(colorname == 'DCERPC') { bg='#c797ff'; fg='#000000'; } if(colorname == 'Routing') { bg='#fff3d6'; fg='#000000'; } if(colorname == 'TCP SYN/FIN') { bg='#a0a0a0'; fg='#000000'; } if(colorname == 'TCP') { bg='#e7e6ff'; fg='#000000'; } if(colorname == 'UDP') { bg='#70e0ff'; fg='#000000'; } if(colorname == 'Broadcast') { bg='#ffffff'; fg='#808080'; } if(fg.length > 0) node.style.color = fg; if(bg.length > 0) node.style.background = bg; } </script> </head> <body> <xsl:apply-templates/> <!-- we expect to match the "pdml" node --> </body> </html> </xsl:template> </xsl:stylesheet>
Close