12-30-2010
Is curl command secure
Can any one confirm that posting username and password using curl command to "https" site is secure or not.
Thanks,
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I try to take out of the command curl the info of the time...
time curl --write \"Downloaded %{time total}\" -o ......
but having some problem. (1 Reply)
Discussion started by: protocomm
1 Replies
2. Shell Programming and Scripting
Hi,
I am using linux curl command to login to the website. Website is using http protocol. My question is how to protect "username and password" while posting the data to the website to avoid man in the middle attack.
Is posting the sensitive data(password) using curl is secure?.
Is digest... (6 Replies)
Discussion started by: Anjan1
6 Replies
3. Shell Programming and Scripting
Hi,
I am in the process of converting ftp transfres to SCP in my scripts.
Have some doubts with SCP command
1) currently script puts a list of ftp commands in afile and paasses the file to ftp as input
echo "user abc pwd" >inputfile
echo "ls *" >> inputfile
echo "quit" >> inputfile... (5 Replies)
Discussion started by: justchill
5 Replies
4. HP-UX
Hi,
I do not find curl command in HPUX.
I used to use curl command in solaris to download files onto the server using the below command.
/opt/boksm/lib/curl http://mymachine.net:9191/faci/TSDM\$dm-orbeon/artifact/my-ear.zip -o my-ear.zip
If not curl how can the same be achived... (4 Replies)
Discussion started by: mohtashims
4 Replies
5. Shell Programming and Scripting
HI I am trying to write a script where i can enter a dvd's bar code at the cli and return the price sites will pay for the dvd.
the bard code im using for testing is
this site is
through use of httpfox i have found some info whic i need to use with curl
ctl00$ScriptManager1... (4 Replies)
Discussion started by: dunryc
4 Replies
6. Shell Programming and Scripting
Hi All,
I am using below curl commad and getting output data correctly
curl -k -u AASSDD:PPOOII -d "output_mode=csv" --data-urlencode search='search source=*/AASSDDFF/PPOOLLKK**/94.0*ASD-RST* "Caused by" OR "Error: LISTENER WILL BE DISABLED" OR java.lang.reflect.InvocationTargetException |... (1 Reply)
Discussion started by: rakeshtomar82
1 Replies
7. Shell Programming and Scripting
I am trying post SOAP header from file to curl command.
The curl command is
curl -vk -H "$(cat curl-test1.txt)" -X POST https://xvcfvusdgfsd.sdfjd.gf/cmsws/CMSService
The contet of curl file is
POST: https://cmsuat.chrysler.com/cmsusws/CMSService HTTP/1.1
SOAPAction:... (1 Reply)
Discussion started by: dineshaila
1 Replies
8. Shell Programming and Scripting
is there a different way to do the following:
curl -k -H "Content-Type:application/json" -X POST -d'{"api_token": "33blah526c-6bla71-441b-491b-0blahca08"}' https://10.10.10.10/api/1.4/auth/session -c /tmp/myhost01.myhost.com
im seeking to use a different method because i'm running into TLS... (1 Reply)
Discussion started by: SkySmart
1 Replies
9. Web Development
Good afternnon. I need your help please to understand the basics of curl command to test web services.
Ive heard i can test a web service using this command,so:
curl http://glb_osb_fs.nh.inet:7110/serverglobal/services/StrategicPlanning/NotifyMNPAction_v1
it yields some errors, i would... (5 Replies)
Discussion started by: alexcol
5 Replies
LEARN ABOUT BSD
auth_krb5
AUTH_KRB5(8) InterNetNews Documentation AUTH_KRB5(8)
NAME
auth_krb5 - nnrpd Kerberos v5 authenticator
SYNOPSIS
auth_krb5 [-i instance]
DESCRIPTION
This program does authentication for nnrpd against a Kerberos v5 KDC. This is NOT real Kerberos authentication using service tickets;
instead, a username and password is used to attempt to obtain a Kerberos v5 TGT to confirm that they are valid. As such, this
authenticator assumes that nnrpd has been given the user's username and password, and therefore is not as secure as real Kerberos
authentication. It generally should only be used with NNTP over TLS to protect the password from sniffing.
Normally, you do not want to use this authenticator. Instead, use ckpasswd with PAM support and configure the nnrpd PAM stack to use a
Kerberos PAM module. A full Kerberos PAM module is more sophisticated about how it validates passwords and has a much broader array of
options than this authenticator.
OPTIONS
-i instance
If this option is given, instance will be used as the instance of the principal received from nnrpd and authentication will be done
against that principal instead of the base principal. In other words, a principal like "user", when passed to auth_krb5 invoked with
"-i nntp", will be transformed into "user/nntp" before attempting Kerberos authentication.
Since giving one's password to nnrpd is not as secure as normal Kerberos authentication, this option supports a configuration where all
users are given a separate instance just for news authentication with its own password, so their regular account password isn't exposed
via NNTP.
EXAMPLE
The following readers.conf(5) fragment tells nnrpd to authenticate users by attempting to obtain Kerberos v5 TGTs for them, appending an
instance of "nntp" to usernames before doing so:
auth kerberos {
auth: "auth_krb5 -i nntp"
}
access kerberos {
users: "*/nntp"
newsgroups: example.*
}
Access is granted to the example.* groups for all users who successfully authenticate.
BUGS
Currently, any username containing realm information (containing "@") is rejected. This is to prevent someone from passing in a username
corresponding to a principal in another realm that they have access to and gaining access to the news server via it. However, this is also
something that people may wish to do under some circumstances, so there should be a better way of handling it (such as, perhaps, a list of
acceptable realms or a -r flag specifying the realm in which to attempt authentication).
It's not clear the right thing to do when the username passed in contains a "/" and -i was also given. Right now, auth_krb5 will create a
malformed Kerberos principal with multiple instances and attempt to authenticate against it, which will fail but perhaps not with the best
error message.
HISTORY
Originally written by Christopher P. Lindsey. This documentation was written by Russ Allbery <rra@stanford.edu> based on Christopher's
original README file.
$Id: auth_krb5.pod 8595 2009-08-21 08:29:26Z iulius $
SEE ALSO
ckpasswd(8), nnrpd(8), readers.conf(5).
The latest version of Christopher's original nnrpkrb5auth may be found on his web site at <http://www.mallorn.com/tools/>.
INN 2.5.3 2009-09-11 AUTH_KRB5(8)