Need someone to decrypt an encoded text


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Need someone to decrypt an encoded text
# 1  
Old 08-25-2014
Need someone to decrypt an encoded text

Hello everybody, i have a big issue, i have to decode a big text in base64 a lot of times but there are 2 problems: i am a noob with unix system and shell, and i have problems with openssl and i can't decode anything. can anyone decode for me that base64? need a powerful computer, i can give some moneys with Paypal to anyone have the patience to decrypt that text for me, it is very important for me.

Thanks to everybody for the next answers,

Best Regards
# 2  
Old 08-25-2014
base64

If you are using Linux/Mac go to a command prompt and enter

Code:
man base64

so something like base64 -d <filename> or
echo "base64texthere" | base64 -d
should work

you've already got a base64 encoder/decoder built in. If it's actually encrypted you'll need a decryption key and run it through openssl and is outside the scope of this answer.
# 3  
Old 08-25-2014
i'm trying with this
Code:
openssl base64 -d -in /Users/Supermarco/Desktop/a.txt -out /Users/Supermarco/Desktop/b.txt

and doesn't work with echo isn't a good idea because the base64 text is very very big
# 4  
Old 08-25-2014
base64

I'm not sure offhand if you can combine the commands in that way.

if what you want to do is decode the base64 and then decrypt the output, you can do something like:

Code:
base64 -d filename.txt > decoded.txt

and then with the decoded.txt work with it in openssl

if it's been encrypted, you'll need a private key to decrypt it which I didn't notice on your command line.

You may be able to combine the two steps together but try and get them sorted one at a time until you at least understand the workflow required before getting fancy and trying to do it all in one shot.

Hope this helps you out.
# 5  
Old 08-25-2014
Oh my GOD! IT WORKS! THANKS YOU VERY MUCH, you are my angel!

Well, now i have solved my first problem... my second problem is that i have to decode the file 1024 times with openssl, i have to build a little script, and for every time i decode it i have to add a word at the last of the text and after i decode it again, this for 1024 times, i have to add AfB21= for every time i decode it, can you build this little script?
# 6  
Old 08-25-2014
Sounds like you are well on your way and today is the perfect time to delve into the fun world of bash script writing!
# 7  
Old 08-25-2014
for me isn't very fun, but... i have tried to do this little script:
Code:
i=0 while (( i++ < 50 )); base64 -d /Users/Supermarco/Desktop/a.txt > /Users/Supermarco/Desktop/b.txt

but it tells me that: -bash: syntax error near unexpected token `('

and without the (()) it decrypt it for me one time only, what i have to put on?


Moderator's Comments:
Mod Comment Please use code tags next time for your code and data. Thanks

Last edited by vbe; 08-25-2014 at 10:54 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ldapsearch returning base64 encoded results

So my ldapsearch works great, except for some results I found today. My search is: /usr/lib64/mozldap/ldapsearch -T -h 10.1.1.1 -p 3891 -D "uid=datapower,ou=People,dc=blah,dc=com" -w xxxxxx -b "ou=Certs,dc=blah,dc=com"... (0 Replies)
Discussion started by: primerib
0 Replies

2. Shell Programming and Scripting

Upper to lower case in encoded file

Hi All, I want to change the out put of a decode file from lower to upper. i used tr command but facing issue. set -vx id=$(id) dt=$(date) store=$1 if ]; then cd $APPL_TOP/local/bin cp .sqlpass.Z $$.temp.Z uncompress $$.temp.Z sed -e s/sqlpass/$$.sqlpass/ $$.temp >... (5 Replies)
Discussion started by: nag_sathi
5 Replies

3. Shell Programming and Scripting

Base 64 encoded string

Could anyone of you please give me some idea to decode base 64 encoded value in ksh? (4 Replies)
Discussion started by: nram_krishna@ya
4 Replies

4. Solaris

Very slow decrypt

Hi Folks, Currently restoring some data that has been encrypted using the naitive Solaris encrypt/decrypt commands. Taking ages, anyone used these before and are they usually really slow? Thanks Rgrds Martin (3 Replies)
Discussion started by: callmebob
3 Replies

5. Shell Programming and Scripting

HTML Encoded characters -- Perl

Hello all I have a string like " Have Fun for the rest of the day !. I will meet you tomorrow!" ! is the HTML Equivalent of ! symbol. From the above string, i would like to remove only the HTML encoded special characters. Output should be like " Have Fun for the rest of the day... (4 Replies)
Discussion started by: vasuarjula
4 Replies

6. Shell Programming and Scripting

decoding URL encoded strings

Hi, I have a couple pages of URL encoded strings that I need to unencode (they were originally in Arabic). So the first step is to unencode the strings and then to translate them to English. They are actually lists of words so the translation from Arabic to English shouldn't be too complicated.... (1 Reply)
Discussion started by: ed111
1 Replies

7. UNIX for Advanced & Expert Users

Convert UTF-8 encoded hex value to a character

Hi, I have a non-ascii character (Ŵ), which can be represented in UTF-8 encoding as equivalent hex value (\xC5B4). Is there a function in unix to convert this hex value back to display the charcter ? (10 Replies)
Discussion started by: sumirmehta
10 Replies

8. Shell Programming and Scripting

Parse XML file encoded in ISO-8859-1

Dear Friends, I have an XML file that's encoded in ISO-8859-1. I have some European characters coming in from 2 fields (Name, Comments) in the XML file. Can anyone suggest if there are any functions in Unix to read those characters? Using shell programming, can I parse this xml file? Please... (0 Replies)
Discussion started by: madhavim
0 Replies

9. UNIX for Dummies Questions & Answers

sed replace encoded string

I'm trying to replace the string %2d from a text file using sed, and I can't seem to find the right key combination. I've tried: sed 's/%2d/-/' foo The above doesn't work, presumably because of the %. :mad: Interestingly, I don't get any kind of error message at all. It appears to... (5 Replies)
Discussion started by: mg1
5 Replies

10. Shell Programming and Scripting

AWK script: decrypt text uses frequency analysis

Ez all! I have a question how to decrypt text uses letter frequency analysis. I have code which count the letters, but what i need to do after that. Can anybody help me to write a code. VERY NEEDED! My code now: #!/usr/bin/awk -f BEGIN { FS="" } { for (i=1; i <= NF; i++) { if ($i... (4 Replies)
Discussion started by: SerJel
4 Replies
Login or Register to Ask a Question