Skip to content

Commit

Permalink
fix ai shit
Browse files Browse the repository at this point in the history
  • Loading branch information
h3xitsec committed Feb 13, 2025
1 parent 2bd6d4f commit 6fd4e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/h3xrecon/plugins/plugins/subdomain_permutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ async def execute(self, params: Dict[str, Any], program_id: int = None, executio
logger.debug(f"Using permutation file {wordlist}")

# Run gotator to get the permutation list
command = f"gotator -sub {tmp_file} -perm {PERMUTATIONS_FILE} -depth 1 -numbers -mindup -adv -silent"
logger.debug(f"Running command: {command}")
command = f"echo \"{params.get("target", {})}\" > /tmp/gotator_input.txt && gotator -sub /tmp/gotator_input.txt -perm {wordlist} -depth 1 -numbers 10 -mindup -adv"
logger.debug(f"Running command {command}")
stdout, stderr = self._create_subprocess_shell_sync(command)
if stderr:
logger.warning(f"gotator stderr output: {stderr}")
Expand Down

0 comments on commit 6fd4e4c

Please sign in to comment.