简体   繁体   English

base64解码后执行

[英]Execute after base64 decode

I have the below command我有以下命令

echo 'IHBpbmcgZ29vZ2xlLmNvbQo=' | base64 -d 

which will give ping google.com这将给 ping google.com

I want to execute the ping google.com after base64 decoding我想在 base64 解码后执行 ping google.com

echo 'IHBpbmcgZ29vZ2xlLmNvbQo=' | base64 -d | ?

What should be the command for?命令应该是做什么用的? after piping the base64 -d I did xargs but didnt execute.在管道 base64 -d 之后我做了 xargs 但没有执行。

`echo 'IHBpbmcgZ29vZ2xlLmNvbQo=' | base64 -d`
$echo 'IHBpbmcgZ29vZ2xlLmNvbQo=' | base64 -d  |  bash 
PING google.com(maa05s02-in-x0e.1e100.net (2404:6800:4007:80c::200e)) 56 data bytes

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM