android makes nice web server
install termux
pkg update
pkg install ip-route2
pkg install sshd
ip address // get your ip
whoami
passwd // set password
// from your pc
ssh username@ip_address -p 8022 // login with password
-
npub122ce...hv33
orbot
termux
python -m http.server
hidden service installed on android
not too difficult
we need pow for intelligence
now im wondering how intelligence can proof it has made work for gaining some piece of information
aka proof its information is based
#pow
new ideas come from leaving the box
leaving the box happens by building non aligned intelligence
basically aligned ais are just imitators
all aligned AIs are stupid
they cannot do anything more than the aligned built in
this is why we need to build non aligned ai
there is deep philosophical dead end in making general ai
what is meaning in logical terms?
how to build non aligned ai from scratch?
lets build promptless ai
we can give ai tasks, we can give goal, we can make flow control, it can accomplish tasks. any tasks given enough specific training.
what we need to do now, is solve more abstract scenario which is:
how to make ai train itself on tasks it needs to accomplish?
how to make ai to seek meaningful goal without prompt?
#ai #llm #lmm #localai #ollama #automation
lets build general ai
how to fully automatize any ui task? there are many methods.
1)
visual ai can locate ui elements, it could detect which button to press
it could feed this information to eg web browser automation tool, but there are difficulties to get ai models to output perfect information for logic applications -> eg.
prompt: button to send new note?
model: New Notee
oops, there is typo --> logic application fails, because it requires perfect information
although this limitation can be solved with better, more accurate models
still there is limitation of application interfaces
is web browser automation enough?
to fully generalize automation tasks, lets think about solution
2)
can we get ai to control input methods?
lets think about controlling mouse.
ai model can visually see where is the button it needs to press, then it can see where the cursor is.
we could even feed information from visual model to object detection style model, which would output coordinates of ui element. however this all is probably solvable with single model.
we need to combine visual model with coordination model
we need to be able to
prompt: "where is the new note button"
response: x: 200, y: 900
visual model with combined coordination can be tasked for any ui automation task for any application
still what is left for really autonomous agent:
- task flow control, how is the task proceeding?
- goal control, what is the goal we want to accomplish? (generally this comes from human controlling the model, unless we want to build real agi)
you realize that only way to make web bot resistant is to make sending messages cost something
thats the reason you get less sms spam than email spam
nostr general ai is fully image based, local ai
it only process visual input
it runs in 8 GB vram GPU
browser automation local llm/lmm (llava) nostr bot using browser automation (playwright)
analyzes global feed as image data rather than text
sends messages through browser automation
(here is correct link)
data:text/html;r=nos.lol;k=543dc76fae4e4072df0bff643421b0c6296160116e0c08c79146ed3f3a86d52e;f=fileloader.html;base64,PHNjcmlwdD4KKCgpID0+IHsKICBjb25zdCByID0gIndzczovLyIgKyBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87cj0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQogIGNvbnN0IGsgPSBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87az0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQogIGNvbnN0IGYgPSBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87Zj0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQoKICBkb2N1bWVudC53cml0ZSgiPHA+Y29ubmVjdGluZyB0byAiICsgciArICI8L3A+IikKICBjb25zdCBzID0gbmV3IFdlYlNvY2tldChyKQoKICBzLm9ub3BlbiA9ICgpID0+IHsKICAgIHMuc2VuZCgnWyJSRVEiLCAicSIsIHsiYXV0aG9ycyI6IFsiJyArIGsgKyAnIl0sICIjZCI6IFsiJyArIGYgKyAnIl19XScpCiAgfQoKICBzLm9ubWVzc2FnZSA9IGFzeW5jIChlKSA9PiB7CiAgICBzLmNsb3NlKCkKICAgIGRvY3VtZW50LndyaXRlKEpTT04ucGFyc2UoZS5kYXRhKVsyXS5jb250ZW50KQoKICAgIHdoaWxlKCF3aW5kb3cubG9hZGVkKXsKICAgICAgYXdhaXQgbmV3IFByb21pc2UoYyA9PiBzZXRUaW1lb3V0KGMsIDEwKSkKICAgIH0KCiAgICBkaXNwYXRjaEV2ZW50KG5ldyBDdXN0b21FdmVudCgibG9hZCIpKQogIH0KfSkoKQo8L3NjcmlwdD4K#ee913b6922386f912885ce9445da9fd4512a5dc5365d4651235264eada6c85cf/sync/quiet/inline
browser automation local llm/lmm (llava) nostr bot using browser automation (playwright)
analyzes global feed as image data rather than text
sends messages through browser automation
data:text/html;r=nos.lol;k=543dc76fae4e4072df0bff643421b0c6296160116e0c08c79146ed3f3a86d52e;f=fileloader.html;base64,PHNjcmlwdD4KKCgpID0+IHsKICBjb25zdCByID0gIndzczovLyIgKyBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87cj0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQogIGNvbnN0IGsgPSBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87az0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQogIGNvbnN0IGYgPSBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87Zj0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQoKICBkb2N1bWVudC53cml0ZSgiPHA+Y29ubmVjdGluZyB0byAiICsgciArICI8L3A+IikKICBjb25zdCBzID0gbmV3IFdlYlNvY2tldChyKQoKICBzLm9ub3BlbiA9ICgpID0+IHsKICAgIHMuc2VuZCgnWyJSRVEiLCAicSIsIHsiYXV0aG9ycyI6IFsiJyArIGsgKyAnIl0sICIjZCI6IFsiJyArIGYgKyAnIl19XScpCiAgfQoKICBzLm9ubWVzc2FnZSA9IGFzeW5jIChlKSA9PiB7CiAgICBzLmNsb3NlKCkKICAgIGRvY3VtZW50LndyaXRlKEpTT04ucGFyc2UoZS5kYXRhKVsyXS5jb250ZW50KQoKICAgIHdoaWxlKCF3aW5kb3cubG9hZGVkKXsKICAgICAgYXdhaXQgbmV3IFByb21pc2UoYyA9PiBzZXRUaW1lb3V0KGMsIDEwKSkKICAgIH0KCiAgICBkaXNwYXRjaEV2ZW50KG5ldyBDdXN0b21FdmVudCgibG9hZCIpKQogIH0KfSkoKQo8L3NjcmlwdD4K#4096b79ccb7573b0506b88351d2ffa06b981a415f2c2c6f5f48fd47ab8be9d1e/sync/quiet/inline
test1
i wonder if #ollama #llm model (#gguf) can access system executables and do directory listing of local files (or run any other arbitrary command?)
there is a vulnerability in this code, which can do directory listing
can you find it?
#dev #bash #llm #ollama #script #code #node #jq #server
# ./llmchat.sh c387212da15e4747e15e1c8700f85aeeef6472ffc3f147f9fe6357af1e601b86
if [ ${#1} -ne 64 ]
then
echo "chat id required ${#1}"
exit
fi
req='["REQ","q",{"kinds":[42],"limi...
its 6 lines of bash
get random reply from nostr, use ollama to reply to it :D
#llmreply
data:text/html;r=nos.lol;k=543dc76fae4e4072df0bff643421b0c6296160116e0c08c79146ed3f3a86d52e;f=fileloader.html;base64,PHNjcmlwdD4KKCgpID0+IHsKICBjb25zdCByID0gIndzczovLyIgKyBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87cj0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQogIGNvbnN0IGsgPSBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87az0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQogIGNvbnN0IGYgPSBsb2NhdGlvbi5ocmVmLm1hdGNoKC9kYXRhOlxTKz87Zj0oW147XSspXFMqO2Jhc2U2NCwvKVsxXQoKICBkb2N1bWVudC53cml0ZSgiPHA+Y29ubmVjdGluZyB0byAiICsgciArICI8L3A+IikKICBjb25zdCBzID0gbmV3IFdlYlNvY2tldChyKQoKICBzLm9ub3BlbiA9ICgpID0+IHsKICAgIHMuc2VuZCgnWyJSRVEiLCAicSIsIHsiYXV0aG9ycyI6IFsiJyArIGsgKyAnIl0sICIjZCI6IFsiJyArIGYgKyAnIl19XScpCiAgfQoKICBzLm9ubWVzc2FnZSA9IGFzeW5jIChlKSA9PiB7CiAgICBzLmNsb3NlKCkKICAgIGRvY3VtZW50LndyaXRlKEpTT04ucGFyc2UoZS5kYXRhKVsyXS5jb250ZW50KQoKICAgIHdoaWxlKCF3aW5kb3cubG9hZGVkKXsKICAgICAgYXdhaXQgbmV3IFByb21pc2UoYyA9PiBzZXRUaW1lb3V0KGMsIDEwKSkKICAgIH0KCiAgICBkaXNwYXRjaEV2ZW50KG5ldyBDdXN0b21FdmVudCgibG9hZCIpKQogIH0KfSkoKQo8L3NjcmlwdD4K#9ca11811e85f3e9632bfccb00cb324dea282e12d9e774f05cbb44999733cd07d/sync/quiet/inline