foundations for building our rogue ipk
This commit is contained in:
		
							
								
								
									
										21
									
								
								lg_webOS/myipk/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								lg_webOS/myipk/Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
all: myipk.ipk
 | 
			
		||||
 | 
			
		||||
myipk.ipk:
 | 
			
		||||
	rm -rf ipk
 | 
			
		||||
	mkdir -p ipk/opt/myipk
 | 
			
		||||
	# cp *.py ipk/opt/myipk
 | 
			
		||||
	cp -r payload/* ipk/opt/myipk
 | 
			
		||||
	# sanity
 | 
			
		||||
	echo 'bar' >> ipk/opt/myipk/foo
 | 
			
		||||
	tar czvf control.tar.gz control
 | 
			
		||||
	cd ipk; tar czvf ../data.tar.gz .; cd ..
 | 
			
		||||
	echo 2.0 > debian-binary
 | 
			
		||||
	ar r myipk.ipk control.tar.gz data.tar.gz debian-binary
 | 
			
		||||
 | 
			
		||||
clean: FORCE
 | 
			
		||||
	rm -rf ipk
 | 
			
		||||
	rm -f control.tar.gz
 | 
			
		||||
	rm -f data.tar.gz
 | 
			
		||||
	rm -f myipk.ipk
 | 
			
		||||
 | 
			
		||||
FORCE:
 | 
			
		||||
							
								
								
									
										12
									
								
								lg_webOS/myipk/control
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								lg_webOS/myipk/control
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
Package: myipk
 | 
			
		||||
Version: 1.0
 | 
			
		||||
Description: application to meddle with LG webOS TV
 | 
			
		||||
Section: extras
 | 
			
		||||
Priority: optional
 | 
			
		||||
Maintainer: conor
 | 
			
		||||
License: CLOSED
 | 
			
		||||
Architecture: all
 | 
			
		||||
OE: myipk
 | 
			
		||||
Homepage: unknown
 | 
			
		||||
#Depends: python python-distutils python-pyserial python-curses python-mmap python-ctypes
 | 
			
		||||
Source:  N/A
 | 
			
		||||
							
								
								
									
										3
									
								
								lg_webOS/myipk/payload/poc.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								lg_webOS/myipk/payload/poc.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
#!/bin/ash
 | 
			
		||||
# ugh, not sure i should be specifying that
 | 
			
		||||
nc -l -vvv localhost 1234
 | 
			
		||||
		Reference in New Issue
	
	Block a user