Commit Graph

22 Commits (66fe8ade52df31dfc3878fa61cca8d74f791cff2)

Author SHA1 Message Date
Tod Beardsley 09f34268d2 Deal with blank or missing config-dir better
Just deleting at an index will be surprising when you've already deleted
the wait/nowait. Use an Array#compact strategy instead.

Also, always define a sensible config-dir, even if none is given. If the
user wants to pass one especially, they can.

[FixRM #7297]
2012-10-10 10:18:40 -05:00
Tod Beardsley f247379bb1 Handle the old wait/nowait shift behavior.
The old msfupdate would shift the first argument off the stack
regardless what it was. We have two possible candaidates now, wait and
nowait. Shouldn't be any others.

[SeeRM #7297]
2012-10-10 09:50:30 -05:00
James Lee 9a0a063048 Whitespace at EOL 2012-10-09 16:56:22 -05:00
Tod Beardsley a31984c0ab Always provide --config-dir for msfupdate
Otherwise, you will run into problems described in #882.
2012-10-09 16:25:06 -05:00
Tod Beardsley 7dbe512fed Question Answered 2012-10-03 17:06:38 -05:00
Tod Beardsley 31c50ccccb commenting the weird while vs if choice 2012-10-01 13:15:10 -05:00
Tod Beardsley c7ecdfb98e Instance variables for semaphores and scope 2012-10-01 13:11:01 -05:00
Tod Beardsley 2573814c9d Deal with these arguments sensibly 2012-10-01 13:07:51 -05:00
Tod Beardsley ee4c6bb976 Deal with wait more sensibly 2012-10-01 12:41:36 -05:00
Tod Beardsley 2b44cd0322 Lets not modify the constant ARGV at runtime 2012-10-01 12:30:37 -05:00
HD Moore 768b66dd7e Add the --non-interactive flag to msfupdate (thx pyllyukko) 2012-09-04 14:06:04 -05:00
HD Moore d656e3185f Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
Joshua Drake 5905ef3fad msftidy pass on msf*
git-svn-id: file:///home/svn/framework3/trunk@14035 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-23 12:04:41 +00:00
David Rude 7cd144e7d6 fix the logic so root can run msfupdate even if the install is owned by a user
git-svn-id: file:///home/svn/framework3/trunk@13862 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-10 21:20:56 +00:00
David Rude 3558d4e4be capitalize and add more description to the error msg
git-svn-id: file:///home/svn/framework3/trunk@13860 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-10 21:10:50 +00:00
David Rude e428f6b146 add a owner check to msfupdate
git-svn-id: file:///home/svn/framework3/trunk@13859 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-10 21:08:04 +00:00
James Lee 87876293be check for broken svn so running from a busted environment will at least give a hint as to what might be wrong
git-svn-id: file:///home/svn/framework3/trunk@13733 4d416f70-5f16-0410-b530-b9f4589650da
2011-09-15 15:31:08 +00:00
James Lee 606b8e68b6 add svn repo cert fingerprints. hopefully fixes some update problems on installations before this change went into the installers (3.7.2)
git-svn-id: file:///home/svn/framework3/trunk@13043 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-27 20:30:44 +00:00
James Lee 5ffd2307e5 always run svn cleanup when updating. fixes issues where the user ctrl-c'd a previous update
git-svn-id: file:///home/svn/framework3/trunk@12968 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-17 22:40:49 +00:00
James Lee 179d16cbc3 allow extra arguments to svn
git-svn-id: file:///home/svn/framework3/trunk@12535 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-03 23:58:41 +00:00
HD Moore dfd9ddbdc8 Add a wait mode
git-svn-id: file:///home/svn/framework3/trunk@10744 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-19 08:22:44 +00:00
HD Moore ff7162aa2e Adds a quick wrapper to svn update
git-svn-id: file:///home/svn/framework3/trunk@10742 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-19 07:32:50 +00:00