Skip to content
This repository was archived by the owner on Oct 16, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 7 additions & 22 deletions roles/recon/tasks/linenum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,13 @@
file:
path: /usr/share/linux-binaries
state: directory

- name: 'linenum : clone repository'
git:
accept_hostkey: yes
clone: yes
depth: 1
dest: /tmp/linenum
force: yes
repo: https://github.com/rebootuser/LinEnum.git

- name: 'linenum : copy script'
copy:

- name: 'linenum : download the script'
get_url:
url: https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh
dest: /usr/share/linux-binaries/LinEnum.sh
mode: 0755
remote_src: yes
src: /tmp/linenum/LinEnum.sh

- name: 'linenum : remove fragments'
file:
path: /tmp/linenum
state: absent

mode: '0755'

tags:
- recon
- linenum
- linenum