FWSquatch / CSEL

Cyberpatriot Scoring Engine: Linux
14 stars 4 forks source link

$index: ambiguous redirect #3

Open sharpentheaxe opened 3 years ago

sharpentheaxe commented 3 years ago

When I run the CSEL I get a $index: ambiguous redirect error. Any pointers to fix these issues?

Firing csel for the first time... /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 275: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 276: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 519: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 531: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 442: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 544: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 550: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 555: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 442: $index: ambiguous redirect /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 442: $index: ambiguous redirect sed: no input files sed: no input files /usr/local/bin/csel_SCORING_ENGINE_DO_NOT_TOUCH: line 282: $index: ambiguous redirect DONE

eco019-chs commented 3 years ago

Also having this same issue.

I looked at the file and all that was at Line 275 was "fi" (two in a row). I'm not familiar with the script so I went into the payload file and removed one and attempted to reinstall and it just told me it received an unexpected } from the next line. So I have no idea.

This script looks pretty awesome otherwise. Was hoping to use it this coming weekend in a practice round.

FWSquatch commented 3 years ago

Sorry guys! I haven't looked at this code in a long time. I rewrote the scoring engine in python. This is what I suggest using now: https://github.com/FWSquatch/pysel