n00neimp0rtant / xCon-Issues

public "forum" for xCon requests
185 stars 45 forks source link

paths-deny #571

Open florincm opened 8 years ago

florincm commented 8 years ago

Hello i'm trying to make the paths-deny have the following list:

/.fseventsd /etc/clutch.conf /usr/bin/codesign_allocate /var/tmp/cydia.log /var/log/syslog /var/stash /var/run/syslog /var/run/syslog.pid /evasi0n7 /evasi0n7-installed /usr/lib/pangu_xpcd.dylib /usr/lib/pangu_xpcd.ipod.dylib /xuanyuansword /tmp/cydia.log /tmp/FlipSwitchCache /Applications/Cydia.app /Applications/RockApp.app /Applications/Icy.app /usr/sbin/sshd /usr/bin/sshd /usr/libexec/sftp-server /Applications/WinterBoard.app /Applications/SBSettings.app /Applications/MxTube.app /Applications/IntelliScreen.app /Library/MobileSubstrate/DynamicLibraries/Veency.plist /Applications/FakeCarrier.app /Library/MobileSubstrate/DynamicLibraries/LiveClock.plist /Applications/blackra1n.app /private/var/stash /private/var/mobile/Library/SBSettings/Themes /System/Library/LaunchDaemons/com.ikey.bbot.plist /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist /private/var/tmp/cydia.log /private/var/lib/cydia /usr/bin/ldid /bin/gzip /bin/cp /etc/apt /usr/libexec/ssh-keysign /bin/sh /bin/bash /var/tmp/cydia.log /usr/bin/plutil /usr/bin/codesign_allocate /bin/gunzip /bin/tar /bin/mv /etc/ssh/sshd_config /var/log/syslog /var/lib/cydia /var/cahe/apt /Library/MobileSubstrate/MobileSubstrate.dylib /Application/Cydia.app

How can i compile it to a deb and install it on my phone? and is it dangerous for my phone to deny access to some of them, will I brick my phone ?

i've tried it and i get:

iPhone:~ root# dpkg -i bc.deb (Reading database ... 2648 files and directories currently installed.) Preparing to replace com.n00neimp0rtant.xcon 39~beta7 (using bc.deb) ... Unpacking replacement com.n00neimp0rtant.xcon ... dpkg-deb: file `bc.deb' contains ununderstood data member data.tar.xz , giving up dpkg: error processing bc.deb (--install): subprocess dpkg-deb --fsys-tarfile returned error exit status 2 Errors were encountered while processing: bc.deb

Lunat1k commented 8 years ago

you don't have to repackage it. you can just modify it at /var/lib/xcon/paths-deny. However if I release a new version it'll override the file. However I will add some of these to the offical list. Others don't need to be added for various reasons

Lunat1k commented 8 years ago

Also I get a list of stuff from the dpkg list files which is why I don't add them to the paths-deny file. This is mainly to control denying checks for stuff that may not be in the dpkg list files. for example syslog.pid is generated by syslog so it wouldn't be a part of the dpkg list.