Hi guys,
I'm writing a little FTP client in pure shell + curl for my personal needs.
Anyway, I need to store my passwords so I chose SQlite, because I don't
want to put them in a regular file or in the script.
Unfortunately, I think this is not really perfect.
Do you know how to store my password
Store it in pure text file & chown root & chmod 600 is the simpliest way.
2013/2/9 Hugues Moretto-Viry
> Hi guys,
>
> I'm writing a little FTP client in pure shell + curl for my personal needs.
> Anyway, I need to store my passwords so I chose SQlite, because I don't
> want to put them in a reg
On Sat, Feb 09, 2013 at 12:20:58PM +0100, Hugues Moretto-Viry wrote:
> Hi guys,
>
> I'm writing a little FTP client in pure shell + curl for my personal needs.
> Anyway, I need to store my passwords so I chose SQlite, because I don't
> want to put them in a regular file or in the script.
> Unfortu
On Sat, Feb 09, 2013 at 12:20:58PM +0100, Hugues Moretto-Viry wrote:
> Hi guys,
>
> I'm writing a little FTP client in pure shell + curl for my personal needs.
> Anyway, I need to store my passwords so I chose SQlite, because I don't
> want to put them in a regular file or in the script.
Why not?
store them in a dbus transmission loop.
Thank you for the ideas, guys.
@v4hn: Now, the password is requested via a variable (maybe I'll change
it), for example:
PASS=$(sqlite3 $HOME/.bin/Misc/FOO.sqlite "select pass from t1 limit
1";)
I don't know if anyone else can read it with ps -ax. I tried myself and I
was unable to see it.
$ yes password >/dev/null & ps ax | grep '[y]es' ; kill $!
[1] 5476
5476 pts/9R 0:00 yes password
On 9 February 2013 20:08, Hugues Moretto-Viry wrote:
>
> I don't know if anyone else can read it with ps -ax. I tried myself and I
> was unable to see it.
>
If I understand correctly, your demonstration works because it's like you
added a parameter to an existing program.
In my script, you can't use a parameter, I just use variables inside the
script.
So, ps -ax just shows the called script or the command used in the variable
(here SQlite) and not the
[2013-02-09 22:32] Sam Watkins
> On Sat, Feb 09, 2013 at 12:20:58PM +0100, Hugues Moretto-Viry wrote:
> > Hi guys,
> >
> > I'm writing a little FTP client in pure shell + curl for my personal needs.
> > Anyway, I need to store my passwords so I chose SQlite, because I don't
> > want to put them i
On 02/09/2013 03:48, hiro wrote:
store them in a dbus transmission loop.
Please don't.
Maybe your experience is different, but it seems like dbus only works
less than half the time.
You might as well save your passwords in /dev/null.
Greetings.
On Sat, 09 Feb 2013 20:18:10 +0100 Charlie Kester wrote:
> On 02/09/2013 03:48, hiro wrote:
> > store them in a dbus transmission loop.
>
> Please don't.
>
> Maybe your experience is different, but it seems like dbus only works
> less than half the time.
Noone plans to store and
On Sat, Feb 09, 2013 at 01:41:26PM +0100, Hugues Moretto-Viry wrote:
> If I understand correctly, your demonstration works because it's like you
> added a parameter to an existing program.
> In my script, you can't use a parameter, I just use variables inside the
> script.
> So, ps -ax just shows t
Hugues Moretto-Viry stated, On 2013-02-09 12:20:
> Hi guys,
>
> I'm writing a little FTP client in pure shell + curl for my personal needs.
> Anyway, I need to store my passwords so I chose SQlite, because I don't
> want to put them in a regular file or in the script.
> Unfortunately, I think this
>I'm writing a little FTP client in pure shell + curl for my personal needs.
Looks interesting, will you make a public release?
On Sat, Feb 09, 2013 at 12:20:58PM +0100, Hugues Moretto-Viry wrote:
> Anyway, I need to store my passwords so I chose SQlite, because I don't
> want to put them in a regular file or in the script.
> Unfortunately, I think this is not really perfect.
>
> Do you know how to store my passwords outsi
On Feb 10, 2013 10:53 AM, "Rox 64" wrote:
>
> >I'm writing a little FTP client in pure shell + curl for my personal
needs.
>
> Looks interesting, will you make a public release?
+1. I spend far too much time in sucky clients like FireFTP.
> ai.ki sam something
> nipl.net sam whatever
> This looks much like a reinvention of netrc. Netrc is already
> there and widespread. Also, users know that it contains sensible
> data. The things not so perfect of netrc are minor compared to
> that.
A good point, in fact curl can use
On Sat, Feb 09, 2013 at 11:20:38AM -0800, Charlie Kester wrote:
> On 02/09/2013 03:48, hiro wrote:
> >store them in a dbus transmission loop.
>
> Please don't.
sarcasm detection fail
>
>
>
On 02/09/2013 17:44, Sam Watkins wrote:
On Sat, Feb 09, 2013 at 11:20:38AM -0800, Charlie Kester wrote:
On 02/09/2013 03:48, hiro wrote:
store them in a dbus transmission loop.
Please don't.
sarcasm detection fail
Yeah, I guess so. Glad to hear it was never a serious suggestion.
comcast.
On 02/09/2013 20:37, hiro wrote:
comcast.
lol. yeah, I am a total loser.
Rox and Daniel: Yes, I'll share it when it's done.
Finally, I found lftp[1] so I don't know if I will continue this script.
Anyway, my script has less dependencies since it just needs sh + awk + curl
(I dropped sqlite for plain file + awk).
[1] http://lftp.yar.ru/
H.Mo.
23 matches
Mail list logo