使用变量时遇到SMTP脚本问题

时间:2014-03-27 00:16:42

标签: bash email variables smtp

Seems like i cant use the variable in bash after i netcat in, any solution? It all works when i dont use variables. This is for a quick email spoofer for class

似乎我无法在netcat中使用bash中的变量,任何解决方案?当我不使用变量时,这一切都有效。这是一个快速的电子邮件欺骗者的课程。我也在顶部有#!bin / bash。

1 个答案:

答案 0 :(得分:1)

add = 'mailserver'

VS

add='mailserver'

始终确保no spaces exist between the variable name and the value to be assigned