<?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=Sicherheitstools_Phyton</id>
	<title>Sicherheitstools Phyton - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Sicherheitstools_Phyton"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Sicherheitstools_Phyton&amp;action=history"/>
	<updated>2026-06-29T06:39:00Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Sicherheitstools_Phyton&amp;diff=36945&amp;oldid=prev</id>
		<title>Thomas.will: /* Abwärtskompatibilität in Kali beibehalten */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Sicherheitstools_Phyton&amp;diff=36945&amp;oldid=prev"/>
		<updated>2022-10-09T08:37:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Abwärtskompatibilität in Kali beibehalten&lt;/span&gt;&lt;/span&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 9. Oktober 2022, 08:37 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-l32&quot; &gt;Zeile 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 32:&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;*Um Benutzer auf diese Situation aufmerksam zu machen, zeigen wir beim Anmelden eine Aufforderungsmeldung an:&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;*Um Benutzer auf diese Situation aufmerksam zu machen, zeigen wir beim Anmelden eine Aufforderungsmeldung an:&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;/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;/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;┏━(Message from Kali developers)&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;┏━(Message from Kali developers)&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;┃&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;┃&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;┃ We have kept /usr/bin/python pointing to Python 2 for backwards&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;┃ We have kept /usr/bin/python pointing to Python 2 for backwards&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;┃ compatibility. Learn how to change this and avoid this message:&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;┃ compatibility. Learn how to change this and avoid this message:&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;┃ ⇒ https://www.kali.org/docs/general-use/python3-transition/&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;┃ ⇒ https://www.kali.org/docs/general-use/python3-transition/&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;┃&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;┃&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;┗━(Run “touch ~/.hushlogin” to hide this message)&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;┗━(Run “touch ~/.hushlogin” to hide this message)&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;*Die Hoffnung ist, dass sie diesen Artikel lesen und wissen, wie sie mit den verschiedenen Problemen umgehen, denen sie begegnen werden.&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;*Die Hoffnung ist, dass sie diesen Artikel lesen und wissen, wie sie mit den verschiedenen Problemen umgehen, denen sie begegnen werden.&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;/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;/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=Sicherheitstools_Phyton&amp;diff=36944&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „=Über den Übergang= *Kali Linux ist vollständig auf Python 3 umgestiegen.  *Das bedeutet, dass jedes von Kali gepackte Tool, das Python 2 verwendet hat, ent…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Sicherheitstools_Phyton&amp;diff=36944&amp;oldid=prev"/>
		<updated>2022-10-09T08:37:15Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „=Über den Übergang= *Kali Linux ist vollständig auf Python 3 umgestiegen.  *Das bedeutet, dass jedes von Kali gepackte Tool, das Python 2 verwendet hat, ent…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Über den Übergang=&lt;br /&gt;
*Kali Linux ist vollständig auf Python 3 umgestiegen. &lt;br /&gt;
*Das bedeutet, dass jedes von Kali gepackte Tool, das Python 2 verwendet hat, entweder gelöscht oder für die Verwendung von Python 3 konvertiert wurde. &lt;br /&gt;
*Jedes Tool, das auf Python 3 konvertiert wurde, enthält nur Skripte mit /usr/bin/python3 als shebang.&lt;br /&gt;
&lt;br /&gt;
*In Bezug auf die Pakete, die direkt von Debian kommen, haben sie bei den meisten Paketen dasselbe getan, &lt;br /&gt;
*Es gibt aber einige Ausnahmen, bei denen Pakete weiterhin auf Python 2 angewiesen sein dürfen. &lt;br /&gt;
*Diese Pakete wurden jedoch aktualisiert, sodass alle ihre Skripte /usr/ verwenden.&lt;br /&gt;
* bin/python2 als ihr Shebang und damit sie vom python2-Binärpaket (anstelle des früheren Python) abhängen.&lt;br /&gt;
&lt;br /&gt;
*Dank dieser Änderungen muss Debian nicht mehr /usr/bin/python bereitstellen, und die jüngsten Upgrades werden diesen Symlink effektiv entfernen.&lt;br /&gt;
&lt;br /&gt;
*Wenn Sie ein Python-Skript aus dem Internet herunterladen, wird es leider wahrscheinlich /usr/bin/python als Shebang haben. &lt;br /&gt;
*Wenn Sie versuchen, es auszuführen, ohne die Shebang-Linie zu reparieren, erhalten Sie am Ende einen Fehler wie diesen:&lt;br /&gt;
&lt;br /&gt;
*zsh: /home/kali/test.py: bad Interpreter: /usr/bin/python: keine solche Datei oder Verzeichnis&lt;br /&gt;
*In Debian können Sie den symbolischen Link /usr/bin/python wiederherstellen, indem Sie Folgendes installieren:&lt;br /&gt;
&lt;br /&gt;
*python-is-python2 wenn Sie möchten, dass es auf python2 zeigt&lt;br /&gt;
*python-is-python3 wenn Sie möchten, dass es auf python3 zeigt&lt;br /&gt;
&lt;br /&gt;
=Abwärtskompatibilität in Kali beibehalten=&lt;br /&gt;
*Angesichts der großen Anzahl von Benutzern, die nicht wissen, wie man den obigen Fehler vermeidet, haben wir entschieden, dass Kali weiterhin standardmäßig Python 2 ausliefert&lt;br /&gt;
*(solange Debian es noch bereitstellt) und dass /usr/bin/python darauf verweisen würde .&lt;br /&gt;
*Wir behalten auch einige gängige externe Module (wie Anfragen) bei, damit zufällige Exploit-Skripte eine angemessene Chance haben, erfolgreich ausgeführt zu werden.&lt;br /&gt;
&lt;br /&gt;
*Pip für Python2 (alias python-pip) ist jedoch weg, /usr/bin/pip ist dasselbe wie /usr/bin/pip3 und es werden Module für Python 3 installiert. &lt;br /&gt;
&lt;br /&gt;
*Diese Kompatibilität wurde implementiert, indem kali-linux-headless python2, python-is-python2 und offsec-awae-python2 empfiehlt.&lt;br /&gt;
*Sodass sie standardmäßig installiert werden, während sie von Benutzern entfernt werden können, die sie loswerden möchten.&lt;br /&gt;
&lt;br /&gt;
*Um Benutzer auf diese Situation aufmerksam zu machen, zeigen wir beim Anmelden eine Aufforderungsmeldung an:&lt;br /&gt;
&lt;br /&gt;
┏━(Message from Kali developers)&lt;br /&gt;
┃&lt;br /&gt;
┃ We have kept /usr/bin/python pointing to Python 2 for backwards&lt;br /&gt;
┃ compatibility. Learn how to change this and avoid this message:&lt;br /&gt;
┃ ⇒ https://www.kali.org/docs/general-use/python3-transition/&lt;br /&gt;
┃&lt;br /&gt;
┗━(Run “touch ~/.hushlogin” to hide this message)&lt;br /&gt;
*Die Hoffnung ist, dass sie diesen Artikel lesen und wissen, wie sie mit den verschiedenen Problemen umgehen, denen sie begegnen werden.&lt;br /&gt;
&lt;br /&gt;
=Häufig gestellte Fragen=&lt;br /&gt;
*Ich habe ein Python-Skript heruntergeladen, was soll ich tun?&lt;br /&gt;
*Sie müssen seine Shebang-Linie inspizieren. &lt;br /&gt;
*Die Shebang-Zeile ist die erste Zeile eines Skripts und beginnt mit #! gefolgt vom Pfad des Interpreters, der zum Ausführen des Skripts verwendet wird.&lt;br /&gt;
*Wenn der Interpreter /usr/bin/python ist, sollten Sie die Dokumentation lesen, um zu sehen, ob das Skript mit Python 3 ausgeführt werden kann. &lt;br /&gt;
*Wenn ja, sollten Sie die Shebang-Zeile so aktualisieren, dass sie auf /usr/bin/python3 zeigt.&lt;br /&gt;
*Andernfalls sollten Sie es so aktualisieren, dass es auf /usr/bin/python2 zeigt.&lt;br /&gt;
&lt;br /&gt;
=Quelle=&lt;br /&gt;
*https://www.kali.org/docs/general-use/python3-transition/&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>