summaryrefslogtreecommitdiffstats
path: root/bin/report-vuln
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@debian.org>2016-10-29 16:55:47 +0000
committerAntoine Beaupré <anarcat@debian.org>2016-10-29 16:55:47 +0000
commit64e26d90bcdf2619b46aed66493f898665c5125d (patch)
tree3d767b219fff50625720c02318750261ac25738a /bin/report-vuln
parenta0e9e07aebe534114a77be6674e875e1ab88e767 (diff)
Summary: report-vuln: add an example of a simple oneliner with bash as well
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@45746 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/report-vuln')
-rwxr-xr-xbin/report-vuln6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/report-vuln b/bin/report-vuln
index 37311a2283..030de28005 100755
--- a/bin/report-vuln
+++ b/bin/report-vuln
@@ -5,12 +5,18 @@
#
# you could use it for example in combination with the
# following shell function:
+#
# report-vuln(){
# TMPFILE="$HOME/reportbug.tmp"
# $HOME/debian/svn/secure-testing/bin/report-vuln "$@" > $TMPFILE
# mutt -i $TMPFILE submit@bugs.debian.org
# rm $TMPFILE
# }
+#
+# in bash, this can be simply:
+#
+# mutt -i <($HOME/debian/svn/secure-testing/bin/report-vuln) submit@bugs.debian.org
+#
# export http_proxy if you need to use an http proxy to report bugs
import sys, re, urllib, os

© 2014-2024 Faster IT GmbH | imprint | privacy policy