mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Small update version 2.1.1
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
24
.idea/workspace.xml
generated
24
.idea/workspace.xml
generated
@ -5,9 +5,7 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="86d472f7-3417-4a77-9947-c1c255a4f4e8" name="Changes" comment="Update Makefile">
|
<list default="true" id="86d472f7-3417-4a77-9947-c1c255a4f4e8" name="Changes" comment="Update Makefile">
|
||||||
<change beforePath="$PROJECT_DIR$/.DEREK.yml" beforeDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/.travis.yml" beforeDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@ -48,12 +46,12 @@
|
|||||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
"WebServerToolWindowFactoryState": "false",
|
"WebServerToolWindowFactoryState": "false",
|
||||||
"git-widget-placeholder": "pwnagotchi-torch",
|
|
||||||
"node.js.detected.package.eslint": "true",
|
"node.js.detected.package.eslint": "true",
|
||||||
"node.js.detected.package.tslint": "true",
|
"node.js.detected.package.tslint": "true",
|
||||||
"node.js.selected.package.eslint": "(autodetect)",
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
|
"settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}]]></component>
|
}]]></component>
|
||||||
@ -68,6 +66,13 @@
|
|||||||
<workItem from="1693181063054" duration="672000" />
|
<workItem from="1693181063054" duration="672000" />
|
||||||
<workItem from="1693181774881" duration="48000" />
|
<workItem from="1693181774881" duration="48000" />
|
||||||
<workItem from="1693209737513" duration="271000" />
|
<workItem from="1693209737513" duration="271000" />
|
||||||
|
<workItem from="1693308042171" duration="8000" />
|
||||||
|
<workItem from="1693308261277" duration="87000" />
|
||||||
|
<workItem from="1693308365487" duration="13000" />
|
||||||
|
<workItem from="1693309300580" duration="42000" />
|
||||||
|
<workItem from="1693311805926" duration="418000" />
|
||||||
|
<workItem from="1693332220165" duration="602000" />
|
||||||
|
<workItem from="1693333349115" duration="1395000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="Update Makefile">
|
<task id="LOCAL-00001" summary="Update Makefile">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
@ -83,6 +88,17 @@
|
|||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
<option name="version" value="3" />
|
<option name="version" value="3" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="Vcs.Log.Tabs.Properties">
|
||||||
|
<option name="TAB_STATES">
|
||||||
|
<map>
|
||||||
|
<entry key="MAIN">
|
||||||
|
<value>
|
||||||
|
<State />
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</map>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<MESSAGE value="Update Makefile" />
|
<MESSAGE value="Update Makefile" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="Update Makefile" />
|
<option name="LAST_COMMIT_MESSAGE" value="Update Makefile" />
|
||||||
|
6
Makefile
6
Makefile
@ -39,9 +39,9 @@ $(PWN_RELEASE).img: | $(PACKER)
|
|||||||
# If the packer or ansible files are updated, rebuild the image.
|
# If the packer or ansible files are updated, rebuild the image.
|
||||||
$(PWN_RELEASE).img: $(SDIST) builder/pwnagotchi.json builder/pwnagotchi.yml $(shell find builder/data -type f)
|
$(PWN_RELEASE).img: $(SDIST) builder/pwnagotchi.json builder/pwnagotchi.yml $(shell find builder/data -type f)
|
||||||
# $(PACKER) plugins install github.com/mkaczanowski/builder-arm
|
# $(PACKER) plugins install github.com/mkaczanowski/builder-arm
|
||||||
cd builder/packer-builder-arm/packer-builder-arm && sudo $(UNSHARE) $(PACKER) build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" ../../pwnagotchi.json
|
cd builder/packer-builder-arm/ && sudo $(UNSHARE) $(PACKER) build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" ../pwnagotchi.json
|
||||||
sudo chown -R $$USER:$$USER ../../builder/output-pwnagotchi
|
sudo chown -R $$USER:$$USER ../builder/output-pwnagotchi
|
||||||
mv ../../builder/output-pwnagotchi/image $@
|
mv ../builder/output-pwnagotchi/image $@
|
||||||
|
|
||||||
# If any of these files are updated, rebuild the checksums.
|
# If any of these files are updated, rebuild the checksums.
|
||||||
$(PWN_RELEASE).sha256: $(PWN_RELEASE).img
|
$(PWN_RELEASE).sha256: $(PWN_RELEASE).img
|
||||||
|
@ -36,27 +36,17 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"provisioners": [
|
"provisioners": [
|
||||||
{
|
|
||||||
"inline": ["mkdir -p /usr/local/src/pwnagotchi"],
|
|
||||||
"type": "shell"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "file",
|
|
||||||
"sources": [
|
|
||||||
"../../../dist/pwnagotchi-{{user `pwn_version`}}.tar.gz"
|
|
||||||
],
|
|
||||||
"destination": "/usr/local/src/pwnagotchi/"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"inline": [
|
"inline": [
|
||||||
"apt-get -y --allow-releaseinfo-change update",
|
"apt-get -y --allow-releaseinfo-change update",
|
||||||
"apt-get install -y --no-install-recommends ansible"
|
"apt-get -y dist-upgrade",
|
||||||
|
"apt-get install -y ansible"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ansible-local",
|
"type": "ansible-local",
|
||||||
"playbook_file": "../../../builder/pwnagotchi.yml",
|
"playbook_file": "../../builder/pwnagotchi.yml",
|
||||||
"extra_arguments": [
|
"extra_arguments": [
|
||||||
"--extra-vars \"ansible_python_interpreter=/usr/bin/python3\""
|
"--extra-vars \"ansible_python_interpreter=/usr/bin/python3\""
|
||||||
],
|
],
|
||||||
|
@ -171,11 +171,6 @@
|
|||||||
state: absent
|
state: absent
|
||||||
purge: yes
|
purge: yes
|
||||||
|
|
||||||
- name: upgrade apt distro
|
|
||||||
become_user: root
|
|
||||||
apt:
|
|
||||||
upgrade: dist
|
|
||||||
|
|
||||||
- name: install packages
|
- name: install packages
|
||||||
become_user: root
|
become_user: root
|
||||||
apt:
|
apt:
|
||||||
@ -303,22 +298,25 @@
|
|||||||
command: ln -s /usr/local/bin/bettercap /usr/bin/bettercap
|
command: ln -s /usr/local/bin/bettercap /usr/bin/bettercap
|
||||||
when: bettercap.changed
|
when: bettercap.changed
|
||||||
|
|
||||||
- name: download and install bettercap
|
|
||||||
unarchive:
|
|
||||||
src: "{{ packages.bettercap.url }}"
|
|
||||||
dest: /usr/bin
|
|
||||||
remote_src: yes
|
|
||||||
exclude:
|
|
||||||
- README.md
|
|
||||||
- LICENSE.md
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: clone bettercap caplets
|
- name: clone bettercap caplets
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/jayofelony/caplets.git
|
repo: https://github.com/jayofelony/caplets.git
|
||||||
dest: /tmp/caplets
|
dest: /tmp/caplets
|
||||||
register: capletsgit
|
register: capletsgit
|
||||||
|
|
||||||
|
- name: install bettercap caplets
|
||||||
|
make:
|
||||||
|
chdir: /tmp/caplets
|
||||||
|
target: install
|
||||||
|
when: capletsgit.changed
|
||||||
|
|
||||||
|
- name: download and install bettercap ui
|
||||||
|
unarchive:
|
||||||
|
src: "{{ packages.bettercap.ui }}"
|
||||||
|
dest: /usr/local/share/bettercap/
|
||||||
|
remote_src: yes
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
# Install nexmon to fix wireless scanning (takes 2.5G of space)
|
# Install nexmon to fix wireless scanning (takes 2.5G of space)
|
||||||
- name: clone nexmon repository
|
- name: clone nexmon repository
|
||||||
git:
|
git:
|
||||||
@ -417,19 +415,6 @@
|
|||||||
state: absent
|
state: absent
|
||||||
path: /usr/local/src/nexmon/
|
path: /usr/local/src/nexmon/
|
||||||
|
|
||||||
- name: install bettercap caplets
|
|
||||||
make:
|
|
||||||
chdir: /tmp/caplets
|
|
||||||
target: install
|
|
||||||
when: capletsgit.changed
|
|
||||||
|
|
||||||
- name: download and install bettercap ui
|
|
||||||
unarchive:
|
|
||||||
src: "{{ packages.bettercap.ui }}"
|
|
||||||
dest: /usr/local/share/bettercap/
|
|
||||||
remote_src: yes
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add HDMI powersave to rc.local
|
- name: add HDMI powersave to rc.local
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/rc.local
|
path: /etc/rc.local
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = '2.1'
|
__version__ = '2.1.1'
|
||||||
|
Reference in New Issue
Block a user