[英]Adding a path after a “-” parameter in Terminal OSX ( crark )
I downloaded crark (crark.net) and I need to run it in Terminal. 我下载了crark(crark.net),需要在终端中运行它。 My PATH i think is not sticking so I need to put the destination of everything in it.
我认为我的路径不固定,因此我需要将所有内容的目的地都放入其中。
Normally someone would type: crark -c crackme.rar to run the program. 通常,有人会键入:crark -c crackme.rar运行该程序。 The program uses a password.def file that is in the same folder as "crark"
该程序使用password.def文件,该文件与“ crark”在同一文件夹中
BUT because my path isn't sticking when I use cd to go to the folder where everything is, I have to type: 但是,因为当我使用cd转到所有内容所在的文件夹时, 我的路径不固定 ,因此我必须输入:
/Users/bigtrade/Desktop/crark/nogpu/crark -c -p Users/bigtrade/Desktop/crark/nogpu/password.def /Users/bigtrade/Desktop/crark/crack.rar / Users / bigtrade / Desktop / crark / nogpu / crark -c -p Users / bigtrade / Desktop / crark / nogpu / password.def /Users/bigtrade/Desktop/crark/crack.rar
THIS PART: -p Users/bigtrade/Desktop/crark/nogpu/password.def GIVES ME this ERROR: 这部分:-p Users / bigtrade / Desktop / crark / nogpu / password.def给我这个错误:
Cannot open Users/bigtrade/Desktop/crark/nogpu/password.def No such file or directory 无法打开Users / bigtrade / Desktop / crark / nogpu / password.def没有这样的文件或目录
How can I type a path after a "-" parameter ? 如何在“-”参数后键入路径?
Btw: if I don't include the part with -p and the location, the program just says it can't find a password.def file. 顺便说一句:如果我不包括-p和位置的部分,该程序只是说找不到password.def文件。
Thank you a lot :) 非常感谢 :)
You've omitted the /
in front of Users, which it should include. 您已经省略了Users前面的
/
,它应该包括在内。 Better yet, try doing this: 更好的是,尝试这样做:
cd /Users/bigtrade/Desktop/crark/nogpu/
then: 然后:
./crark -c -p password.def ~/desktop/crark/crack.rar
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.