Skip to content

Refactor NTLM parsing to use regex #36

Refactor NTLM parsing to use regex

Refactor NTLM parsing to use regex #36

Workflow file for this run

name: Build Hashcat Utils
on:
push:
branches:
- master
tags:
- v*
paths:
- 'src/**'
- '.github/workflows/build.yml'
pull_request:
branches:
- master
paths:
- 'src/**'
- '.github/workflows/build.yml'
jobs:
build-linux:
strategy:
fail-fast: false
name: Build Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Build
run: make
- name: Collect scripts into bin
run: |
cp src/*.py bin/
cp src/*.pl bin/
- name: Generate artifacts
uses: actions/upload-artifact@v4
with:
name: hashcat-utils-linux
path: |
bin/*.bin
bin/*.py
bin/*.pl
build-macos:
strategy:
fail-fast: false
name: Build macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v5
- name: Build
run: make
- name: Collect scripts into bin
run: |
cp src/*.py bin/
cp src/*.pl bin/
- name: Generate artifacts
uses: actions/upload-artifact@v4
with:
name: hashcat-utils-macos
path: |
bin/*.bin
bin/*.py
bin/*.pl
build-windows:
strategy:
fail-fast: false
name: Build Windows
runs-on: windows-latest
steps:
- name: Install MSys2
uses: msys2/setup-msys2@v2
with:
update: true
install: |
make
mingw-w64-x86_64-gcc
- uses: actions/checkout@v5
# Paths aren't correct in MSys2 for mingw, copy to the correct path for the Makefile
- name: Copy CRT_glob.o
shell: msys2 {0}
run: mkdir -p D:/a/_temp/msys64/usr/x86_64-w64-mingw32/lib && cp D:/a/_temp/msys64/mingw64/lib/CRT_glob.o D:/a/_temp/msys64/usr/x86_64-w64-mingw32/lib/CRT_glob.o
- name: Build
shell: msys2 {0}
run: make windows
- name: Collect scripts into bin
run: |
cp src/*.py bin/
cp src/*.pl bin/
- name: Generate artifacts
uses: actions/upload-artifact@v4
with:
name: hashcat-utils-windows
path: |
bin/*.exe
bin/*.py
bin/*.pl