<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Start-scans</id>
	<title>Start-scans - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Start-scans"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Start-scans&amp;action=history"/>
	<updated>2026-06-29T19:39:41Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Start-scans&amp;diff=19903&amp;oldid=prev</id>
		<title>Thomas.will am 17. Januar 2020 um 09:33 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Start-scans&amp;diff=19903&amp;oldid=prev"/>
		<updated>2020-01-17T09:33:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 17. Januar 2020, 09:33 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Zeile 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CUSTOMER=$1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;CUSTOMER=$1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FORMAT=&amp;quot;c402cc3e-b531-11e1-9163-406186ea4fc5&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FORMAT=&amp;quot;c402cc3e-b531-11e1-9163-406186ea4fc5&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;MAIL=&amp;quot;technik@&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;xinux&lt;/del&gt;.de&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;MAIL=&amp;quot;technik@&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xxx&lt;/ins&gt;.de&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;DATE=$(date +%x-%X)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;DATE=$(date +%x-%X)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;REPORTDIR=/var/openvas-reports&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;REPORTDIR=/var/openvas-reports&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Start-scans&amp;diff=19902&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „&lt;syntaxhighlight&gt; #!/bin/bash CUSTOMER=$1 FORMAT=&quot;c402cc3e-b531-11e1-9163-406186ea4fc5&quot; MAIL=&quot;technik@xinux.de&quot; DATE=$(date +%x-%X) REPORTDIR=/var/openvas-repo…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Start-scans&amp;diff=19902&amp;oldid=prev"/>
		<updated>2020-01-17T09:33:20Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&amp;lt;syntaxhighlight&amp;gt; #!/bin/bash CUSTOMER=$1 FORMAT=&amp;quot;c402cc3e-b531-11e1-9163-406186ea4fc5&amp;quot; MAIL=&amp;quot;technik@xinux.de&amp;quot; DATE=$(date +%x-%X) REPORTDIR=/var/openvas-repo…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
CUSTOMER=$1&lt;br /&gt;
FORMAT=&amp;quot;c402cc3e-b531-11e1-9163-406186ea4fc5&amp;quot;&lt;br /&gt;
MAIL=&amp;quot;technik@xinux.de&amp;quot;&lt;br /&gt;
DATE=$(date +%x-%X)&lt;br /&gt;
REPORTDIR=/var/openvas-reports&lt;br /&gt;
LOG=/var/log/openvas/reports.log&lt;br /&gt;
if ! [ -d &amp;quot;$REPORTDIR&amp;quot; ]&lt;br /&gt;
then&lt;br /&gt;
        mkdir $REPORTDIR&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
function watch_scan()&lt;br /&gt;
{&lt;br /&gt;
X=0&lt;br /&gt;
PROGRESS=$(omp -G | grep $TASKNAME | awk '{print $2}')&lt;br /&gt;
while [ &amp;quot;$X&amp;quot; -lt &amp;quot;1&amp;quot; ]&lt;br /&gt;
do&lt;br /&gt;
        if [ &amp;quot;$PROGRESS&amp;quot; == &amp;quot;Done&amp;quot; ]&lt;br /&gt;
        then&lt;br /&gt;
         cd $REPORTDIR&lt;br /&gt;
         X=$((X+1))&lt;br /&gt;
         ITEM=&amp;quot;$TASKNAME-$TASKID-$RERPORTID-$DATE&amp;quot;&lt;br /&gt;
         echo &amp;quot;omp -R $REPORTID -f $FORMAT &amp;gt; $ITEM.pdf&amp;quot; &amp;gt;&amp;gt; $LOG&lt;br /&gt;
         omp -R $REPORTID -f $FORMAT &amp;gt; $ITEM.pdf&lt;br /&gt;
         echo $ITEM | mutt -s &amp;quot;$ITEM&amp;quot; $MAIL -a $ITEM.pdf&lt;br /&gt;
&lt;br /&gt;
        else&lt;br /&gt;
                PROGRESS=$(omp -G | grep $TASKNAME | awk '{print $2}')&lt;br /&gt;
                omp -G | grep $TASKNAME&lt;br /&gt;
                sleep 10&lt;br /&gt;
        fi&lt;br /&gt;
done&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
omp -G | grep $CUSTOMER | while read LINE&lt;br /&gt;
do&lt;br /&gt;
 TASKID=$(echo $LINE | awk '{print $1}')&lt;br /&gt;
 TASKNAME=$(echo $LINE | awk '{print $NF}')&lt;br /&gt;
 REPORTID=$(omp -S $TASKID)&lt;br /&gt;
 watch_scan&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>