Solved

Special characters not supported on terminal Linux

Posted on 2014-11-22
3
183 Views
Last Modified: 2014-11-23
hello

my error

root@sd-42495:/tmp/plowshare4# plowdown -a [b]'mymail@gmail.com:[/b]******' http://link.1fichier.com/
Starting download (1fichier): http://link.1fichier.com/
Starting login process: [b]mymail%40gmail.com/**********[/b]

Open in new window


@ I is replaced by %40 ?? Why

ty
0
Comment
Question by:hexo dark
3 Comments
 
LVL 11

Expert Comment

by:andreas
ID: 40459879
Maybe its not a terminal issue maybe plowdown will replace it by %40

try following

echo "@"

it should return @ in the terminal

if its like this then plowdown does the conversion to %40.
0
 
LVL 19

Accepted Solution

by:
simon3270 earned 500 total points
ID: 40460027
It's the plowdown code which is converting the "@" to a "%40".

At line 1150 of the file /usr/local/share/plowshare4/core.sh in the version I've just downloaded is the line:

    USER=$(echo "${AUTH%%:*}" | uri_encode_strict)

That takes your username (the "mymail@gmail.com") and converts all non-alphanumeric characters to their "safe" equivalents.  It's the same process which converts spaces in URLs to %20, and the "://" in "http://aa.com" to "%3a%2f%2f".  Here it is converting "@" to "%40".

To avoid this, you'll need to edit /usr/local/share/plowshare4/core.sh and either change the above line to

    USER="${AUTH%%:*}"

or remove line 1032 (in the uri_encode_strict function):

     s/@/%40/g

I'd prefer the first fix.
0
 
LVL 2

Author Closing Comment

by:hexo dark
ID: 40461133
tx it works :)
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now