Showing posts with label reference. Show all posts
Showing posts with label reference. Show all posts

Thursday, August 23, 2018

xmlstarlet & xidel, xml parsing from the command line

 

For xml parsing from the command line, xmlstartlet and xidel require the ‘-‘ switch at the end to read from stdin. This has to be used during piping

 

curl http://gist.bbldtl.int:9000/ema/HUBQ1\?page\=log\&message_id\=52285748 | xidel -e '//pre' -   

image

 

 

Or:

curl http://gist.bbldtl.int:9000/ema/HUBQ1\?page\=log\&message_id\=52285748 | xmllint --format --xpath '//pre' - 

 

image

xidel removes the enclosing tags by default. So that’s better.

Monday, October 1, 2007

Siebel Login password unencrypted



If you want to get the password you just need to query the VALUE column of the parameter table and you will find the password in next row where SADMIN or SIEBEL user name is stored.

select VALUE from SIEBEL.S_SRM_REQ_PARAM